Error Event

Fires if an unhandled error occurs during an event.

Syntax

// CBRegistryErrorEventArgs carries the CBRegistry Error event's parameters.
type CBRegistryErrorEventArgs struct {...}

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

// CBRegistryErrorEvent defines the signature of the CBRegistry Error event's handler function.
type CBRegistryErrorEvent func(sender *CBRegistry, args *CBRegistryErrorEventArgs)

func (obj *CBRegistry) GetOnErrorHandler() CBRegistryErrorEvent
func (obj *CBRegistry) SetOnErrorHandler(handlerFunc CBRegistryErrorEvent)

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]