BunkerViolationError
Defined in: judge.ts:116
Thrown in enforce mode before anything is signed (from the confirm hook, or from BunkerGate.check).
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BunkerViolationError(
rule,message,request,intent?):BunkerViolationError
Defined in: judge.ts:122
Parameters
Section titled “Parameters”message
Section titled “message”string
request
Section titled “request”intent?
Section titled “intent?”WriteIntent
Returns
Section titled “Returns”BunkerViolationError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”intent
Section titled “intent”
readonlyintent:WriteIntent|undefined
Defined in: judge.ts:121
The kit write that was refused, when the refusal came from bunkerPolicies.
request
Section titled “request”
readonlyrequest:BunkerRequest
Defined in: judge.ts:119
What was refused, in the form the rules read.
readonlyrule:BunkerRule
Defined in: judge.ts:117