Class APIErrorDetailed

Custom exception class for representing detailed errors returned by the Wallex.ir API.

Hierarchy

  • Error
    • APIErrorDetailed

Constructors

  • Creates an instance of APIErrorDetailed.

    Parameters

    • response: AxiosResponse<any, any>

      The response object returned by the API.

    • text: string

      Additional text providing context for the error.

    Returns APIErrorDetailed

Properties

code: number
message: string
name: string
request: any
response: undefined | AxiosResponse<any, any>
result: any
stack?: string
status_code: number
text: string

Methods

  • Returns a string representation of the error.

    Returns string

    A string describing the error.

Generated using TypeDoc