CBFS Filter 2020 Python Edition

Questions / Feedback?

on_error Event

Fires if an unhandled error occurs during an event.

Syntax

class CBProcessErrorEventParams(object):
  @property
  def error_code() -> int: ...
  @property
  def description() -> str: ...

# In class CBProcess:
@property
def on_error() -> Callable[[CBProcessErrorEventParams], None]: ...
@on_error.setter
def on_error(event_hook: Callable[[CBProcessErrorEventParams], None]) -> None: ...

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) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Filter 2020 Python Edition - Version 20.0 [Build 7917]