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