Error Event

Fires if an unhandled error occurs during an event.

Syntax

// CBMonitorErrorEventArgs carries the CBMonitor Error event's parameters.
type CBMonitorErrorEventArgs struct {...}

func (args *CBMonitorErrorEventArgs) ErrorCode() int32
func (args *CBMonitorErrorEventArgs) Description() string

// CBMonitorErrorEvent defines the signature of the CBMonitor Error event's handler function.
type CBMonitorErrorEvent func(sender *CBMonitor, args *CBMonitorErrorEventArgs)

func (obj *CBMonitor) GetOnErrorHandler() CBMonitorErrorEvent
func (obj *CBMonitor) SetOnErrorHandler(handlerFunc CBMonitorErrorEvent)

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 Filter 2020 Go Edition - Version 20.0 [Build 8317]