Error Event
Fires if an unhandled error occurs during an event.
Syntax
// CBDriveErrorEventArgs carries the CBDrive Error event's parameters. type CBDriveErrorEventArgs struct {...} func (args *CBDriveErrorEventArgs) ErrorCode() int32 func (args *CBDriveErrorEventArgs) Description() string // CBDriveErrorEvent defines the signature of the CBDrive Error event's handler function. type CBDriveErrorEvent func(sender *CBDrive, args *CBDriveErrorEventArgs) func (obj *CBDrive) GetOnErrorHandler() CBDriveErrorEvent func (obj *CBDrive) SetOnErrorHandler(handlerFunc CBDriveErrorEvent)
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.