onError(action: (err: Error)=>void): void Register a custom error handler. Can be used to draw a custom error screen.paramaction- The function to run when the event is triggered.returnsThe event controller.sincev3000.0groupEvents