Interface representing an error response.
IErrorResponse Interface representing an error response.
Error Response
const errorResponse: IErrorResponse ={ "detail": "Given token not valid for any token type", "code": "token_not_valid", "messages": [ { "token_class": "AccessToken", "token_type": "access", "message": "Token is invalid or expired" } ]}; Copy
const errorResponse: IErrorResponse ={ "detail": "Given token not valid for any token type", "code": "token_not_valid", "messages": [ { "token_class": "AccessToken", "token_type": "access", "message": "Token is invalid or expired" } ]};
Optional
Optional error code.
Detailed message about the error.
Optional array of messages providing additional information about the error. Each message is represented as a key-value pair.
Interface representing an error response.
IErrorResponse Interface representing an error response.
See
Error Response
Example