DeniedAuthentication error is used by the API Gateway auth service to deny a request.

Hierarchy (view full)

Constructors

Properties

body: JSONObject

The response payload.

cause?: unknown
message: string = ...

The augmented message.

method: string
name: string
rawMessage: undefined | string

The message originating from the payload.

reason: string
stack?: string
status: number

The response status.

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void