ApiError defines the struct for a basic api error response.

Hierarchy

Implemented by

Methods

Properties

Methods

  • Error makes it compatible with the error interface.

    Returns string

  • RawData returns the unformatted error data (could be an internal error, text, etc.)

    Returns any

Properties

code: number
message: string

Generated using TypeDoc