You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the application implementing this API is unable to fulfill any request as usual, the resulting response from said application should be formatted in an orderly manner.
For this, the following tasks should be done:
Create a schema named AppError and have it contain these properties
code: string
message: string
detailMessage: string
canRetry: boolean
Create a response schema using the former
Link this response in every error case; for status codes 400, 403, 404 and 500
This WILL break API compatibility, since there was no defined behavior prior to this; each application could format these responses and/or expect to be formatted differently from each other.
The text was updated successfully, but these errors were encountered:
When the application implementing this API is unable to fulfill any request as usual, the resulting response from said application should be formatted in an orderly manner.
For this, the following tasks should be done:
AppError
and have it contain these propertiescode: string
message: string
detailMessage: string
canRetry: boolean
400
,403
,404
and500
This WILL break API compatibility, since there was no defined behavior prior to this; each application could format these responses and/or expect to be formatted differently from each other.
The text was updated successfully, but these errors were encountered: