Skip to content

basalt / queue/src / JobSignatureError

Class: JobSignatureError ​

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

The envelope's signature is missing or does not verify under any configured signingKey. The handler does NOT run: the message was not written by a producer holding the key (or was altered on the broker).

Extends ​

Constructors ​

Constructor ​

> new JobSignatureError(job, reason): JobSignatureError

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

Parameters ​

job ​

string

reason ​

"invalid" | "missing"

Returns ​

JobSignatureError

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:70

Released under the MIT License.