Skip to content

basalt / queue/src / UnsupportedJobOptionError

Class: UnsupportedJobOptionError ​

Defined in: queue/src/manager.ts:97

A job used an option the active driver doesn't support (with policy 'throw').

Extends ​

Constructors ​

Constructor ​

> new UnsupportedJobOptionError(driver, job, features): UnsupportedJobOptionError

Defined in: queue/src/manager.ts:99

Parameters ​

driver ​

string

job ​

string

features ​

string[]

Returns ​

UnsupportedJobOptionError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 500 = 500

Defined in: queue/src/manager.ts:98

Released under the MIT License.