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