api-designbackend
What should an API error response contain?
Anonymous
A useful error response separates a stable machine-readable code from a human-readable message. Keep internal stack details out of the client response, and include a request identifier for logs when available. Clients can branch on the code or status, rather than parsing prose.
0