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.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 Go Edition - Version 20.0 [Build 8348]