Class JobNotFoundError<TPayload>

Error thrown when a job cannot be found.

Type Parameters

  • TPayload

    The type of the job payload.

Hierarchy (view full)

Constructors

Properties

cause?: unknown
details: Partial<Job<TPayload>>

The details of the job that could not be found.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void