Hierarchy

  • Error
    • NotAuthenticatedError

Constructors

  • Parameters

    • Optional message: string

    Returns NotAuthenticatedError

  • Parameters

    • Optional message: string
    • Optional options: ErrorOptions

    Returns NotAuthenticatedError

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Properties

cause?: unknown
message: string = 'Not Authenticated'
name: "NotAuthenticatedError" = ...
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number