Type Alias ApiErrorResultBeta

ApiErrorResult: {
    cause: number;
    data: string;
    status: "error";
}

Type representing an error API result.

Type declaration

  • Betacause: number

    The cause of the error, represented by a number.

  • Betadata: string

    The error message or data.

  • Betastatus: "error"

    The status of the API result, always 'error' for this type.