UnauthorizedError returns 401 ApiError.

Hierarchy

Implements

Constructors

Methods

Properties

Constructors

Methods

  • Is reports whether the current ApiError wraps the target.

    Parameters

    • target: Error

    Returns boolean

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

    Returns any

Properties

message: string
status: number

Generated using TypeDoc