ErrorEvent
Defined in: src/types/IEvent.ts:80
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:48
Epoch milliseconds when the event was emitted.
Inherited from
Section titled “Inherited from”name:
"error"
Defined in: src/types/IEvent.ts:81
The event name (access | change | error).
Overrides
Section titled “Overrides”error:
AccessControlError
Defined in: src/types/IEvent.ts:82
operation
Section titled “operation”operation:
string
Defined in: src/types/IEvent.ts:84
The operation that threw (e.g. 'check', 'grant').
roles?
Section titled “roles?”
optionalroles?:string[]
Defined in: src/types/IEvent.ts:85
resource?
Section titled “resource?”
optionalresource?:string
Defined in: src/types/IEvent.ts:86
action?
Section titled “action?”
optionalaction?:string
Defined in: src/types/IEvent.ts:87