ADTF  3.18.2
IErrorHandling::IErrorHandlerabstract

Interface for handling an error from a specific error source and error category. More...

Inheritance diagram for IErrorHandling::IErrorHandler:
[legend]

Public Member Functions

 ADTF_IID (IErrorHandler, "error_handler.error_handling.elasto.services.adtf.iid")
 
virtual void Handle (tResult oError)=0
 Call this to notify the error handling of an error that occured. More...
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast() More...
 

Additional Inherited Members

- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

Detailed Description

Interface for handling an error from a specific error source and error category.

Definition at line 44 of file error_handling_intf.h.

Member Function Documentation

◆ Handle()

virtual void Handle ( tResult  oError)
pure virtual

Call this to notify the error handling of an error that occured.

Note that you still need to deal with this error in your component as good as possible!

Parameters
[in]oErrorThe error result.

Referenced by trigger_pipe_item< INTERFACE >::Run().