on_error Event
Fires if an unhandled error occurs during an event.
Syntax
class CBMemDriveErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class CBMemDrive: @property def on_error() -> Callable[[CBMemDriveErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[CBMemDriveErrorEventParams], None]) -> None: ...
Remarks
This event fires if an unhandled error occurs during another event. Developers can use this information to help track down unhandled errors in an application's event handlers.