Type Alias ApiError

ApiError: { code: number; description: string; err_code: number }

Type declaration

  • code: number

    HTTP like error code in the 300 to 500 range

  • description: string

    A human friendly description of the error

  • err_code: number

    The NATS error code unique to each kind of error