Hierarchy

  • Error
    • CredentialsExpiredError

Constructors

  • Parameters

    • Optional message: string

    Returns CredentialsExpiredError

  • Parameters

    • Optional message: string
    • Optional options: ErrorOptions

    Returns CredentialsExpiredError

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Properties

cause?: unknown
message: string = 'Authentication credentials are expired'
name: "CredentialsExpiredError" = ...
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number