@0x3639/intervals-icu
    Preparing search index...

    Class IntervalsAPIError

    Custom error class for Intervals.icu API errors

    Hierarchy

    • Error
      • IntervalsAPIError

    Implements

    Index
    • Parameters

      • message: string
      • Optionalstatus: number
      • Optionalcode: string
      • OptionalretryAfter: number
      • Optionaldetails: unknown

      Returns IntervalsAPIError

    code?: string
    details?: unknown

    The response body the API sent with the error, when there was one

    retryAfter?: number

    Seconds to wait before retrying, from the Retry-After header

    status?: number