Class NoSessionKeyError

Error thrown when a session is requested for a key that does not exist.

Hierarchy

Constructors

Properties

cause?: unknown
context: {
    [key: string]: any;
} = {}

Type declaration

  • [key: string]: any
message: string
name: string
originalError?: Error
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void