Class APIError

If the API throws an error, it should always be an APIError!

Constructors

  • Parameters

    • message: string

      The reason why things didn't go as expected

    • server: string

      The server to which the request was sent

    • endpoint: string

      The type of resource that was requested from the server

    • parameters: string

      The filters that were used to specify what resource was wanted

    Returns APIError

Properties

endpoint: string
message: string
parameters: string
server: string

Generated using TypeDoc