shaligo
    Preparing search index...

    Class MetronApiError

    Thrown for any non-2xx response from the Metron API.

    Hierarchy (View Summary)

    Index
    • Parameters

      • message: string
      • Optionaloptions: { body?: any; status?: number; url?: string } = {}
        • Optionalbody?: any

          Parsed JSON body, or raw text if the response wasn't JSON.

        • Optionalstatus?: number

          HTTP status code.

        • Optionalurl?: string

          The request URL that failed.

      Returns MetronApiError

    body: any
    cause?: unknown
    message: string
    name: string
    stack?: string
    status: number | undefined
    url: string | undefined