ErrorEvent
Defined in: src/types/IEvent.ts:68
Emitted when a check or operation throws.
Extends
Section titled “Extends”Properties
Section titled “Properties”timestamp
Section titled “timestamp”timestamp:
number
Defined in: src/types/IEvent.ts:36
Epoch milliseconds when the event was emitted.
Inherited from
Section titled “Inherited from”name:
"error"
Defined in: src/types/IEvent.ts:69
The event name (access | change | error).
Overrides
Section titled “Overrides”error:
AccessControlError
Defined in: src/types/IEvent.ts:70
operation
Section titled “operation”operation:
string
Defined in: src/types/IEvent.ts:72
The operation that threw (e.g. 'check', 'grant').
roles?
Section titled “roles?”
optionalroles?:string[]
Defined in: src/types/IEvent.ts:73
resource?
Section titled “resource?”
optionalresource?:string
Defined in: src/types/IEvent.ts:74
action?
Section titled “action?”
optionalaction?:string
Defined in: src/types/IEvent.ts:75