Represents an API error with details.

interface ApiError {
    ErrorMessage: string;
    IsBadRequest: boolean;
    Location: string;
}

Properties

ErrorMessage: string

The error message describing the issue.

IsBadRequest: boolean

Indicates whether the error is due to a bad request.

Location: string

The location or context where the error occurred.