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.

 
 
Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Direct 2020 Go Edition - Version 20.0 [Build 7836]