The response in case of an error.

interface ErrorResponse {
    error?: string;
    error_description?: string;
    errors?: ErrorObject[];
    message: string;
    statusCode: number;
}

Properties

error?: string

This property is only used for OAuth2 errors. Contains the error code.

error_description?: string

This property is only used for OAuth2 errors. Additional information to assist the client developer in understanding the error.

errors?: ErrorObject[]

The errors that caused this error response.

message: string

Describes the error.

statusCode: number

The HTTP status code of the response.