Error Event

Fires if an unhandled error occurs during an event.

Syntax

// CBProcessErrorEventArgs carries the CBProcess Error event's parameters.
type CBProcessErrorEventArgs struct {...}

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

// CBProcessErrorEvent defines the signature of the CBProcess Error event's handler function.
type CBProcessErrorEvent func(sender *CBProcess, args *CBProcessErrorEventArgs)

func (obj *CBProcess) GetOnErrorHandler() CBProcessErrorEvent
func (obj *CBProcess) SetOnErrorHandler(handlerFunc CBProcessErrorEvent)

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]