RegistrationErrorEvent
Hierarchy
- ErrorEvent
- RegistrationErrorEvent
Index
Constructors
constructor
Parameters
payload: Error
userData: object = {}
Returns RegistrationErrorEvent
Properties
readonlyheader
Type declaration
timestamp: number
readonlypayload
readonlyuserData
Methods
staticregistrar
The
registrar()
method is explicitly called by the EventSource decorator for a method to enhance the method to auto-emit events.Parameters
rest...args: [EventService, PropertyDescriptor]
Arguments are spread out using the array spread operator.
- args[0] - Instance of EventService.
- args[1] - PropertyDescriptor.
Returns void
This event is emitted at startup when a class fails to register. It emits the Error object.
The Event instance.