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