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