MGIS
Loading...
Searching...
No Matches
mgis::AbstractErrorHandler Struct Referenceabstract

base class for error handlers This class shall be used as arguments to checkPreconditions methods More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/AbstractErrorHandler.hxx>

Inheritance diagram for mgis::AbstractErrorHandler:
mgis::ContractViolationHandler mgis::ErrorBacktrace mgis::Context

Public Member Functions

virtual InvalidResult registerErrorMessage (const char *const)=0
 register a new error message
 
virtual constexpr ~AbstractErrorHandler ()=default
 destructor
 

Detailed Description

base class for error handlers This class shall be used as arguments to checkPreconditions methods

Member Function Documentation

◆ registerErrorMessage()

virtual InvalidResult mgis::AbstractErrorHandler::registerErrorMessage ( const char * const  )
pure virtual

register a new error message

Parameters
[in]eerror message
Note
for convenience, this method always return an invalid object

Implemented in mgis::ContractViolationHandler, and mgis::ErrorBacktrace.


The documentation for this struct was generated from the following file: