Error Event

Fires if an unhandled error occurs during an event.

Syntax

// CBFilterErrorEventArgs carries the CBFilter Error event's parameters.
type CBFilterErrorEventArgs struct {...}

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

// CBFilterErrorEvent defines the signature of the CBFilter Error event's handler function.
type CBFilterErrorEvent func(sender *CBFilter, args *CBFilterErrorEventArgs)

func (obj *CBFilter) GetOnErrorHandler() CBFilterErrorEvent
func (obj *CBFilter) SetOnErrorHandler(handlerFunc CBFilterErrorEvent)

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]