smartinspectpython.sierroreventargs

Module: sierroreventargs.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SIErrorEventArgs:

Arguments passed to the SmartInspect.ErrorEvent event.

It has only one public class member named Exception. This member is a property, which just returns the occurred exception.

Threadsafety:

This class is fully thread-safe.

SIErrorEventArgs(e: Exception)

Initializes a new instance of the class.

Arguments:
  • e (Exception): Exception that caused the event.
Exception: Exception

Exception that caused the event.

@export
class SIErrorEventHandler:

Event handler type for the SmartInspect.ErrorEvent event.

SIErrorEventHandler( sender: object, e: smartinspectpython.sierroreventargs.SIErrorEventArgs)

Initializes a new instance of the class.

Arguments:
  • sender (object): The object which fired the event.
  • e (SIErrorEventArgs): Arguments that contain detailed information related to the event.