Skip to content
docs

BunkerViolationError

Defined in: judge.ts:116

Thrown in enforce mode before anything is signed (from the confirm hook, or from BunkerGate.check).

  • Error

new BunkerViolationError(rule, message, request, intent?): BunkerViolationError

Defined in: judge.ts:122

BunkerRule

string

BunkerRequest

WriteIntent

BunkerViolationError

Error.constructor

readonly intent: WriteIntent | undefined

Defined in: judge.ts:121

The kit write that was refused, when the refusal came from bunkerPolicies.


readonly request: BunkerRequest

Defined in: judge.ts:119

What was refused, in the form the rules read.


readonly rule: BunkerRule

Defined in: judge.ts:117