Represents the structure of an error response received from the API, including both an error code and a descriptive message.

interface ErrorResponse {
    errorCode: number;
    errorMessage: string;
}

Properties

errorCode: number

A numeric code that represents the type of error encountered. This can be used to programmatically identify specific error conditions.

errorMessage: string

A detailed description of the error, providing additional context and information to the user on what went wrong.

Generated using TypeDoc