helics  3.5.2
Public Member Functions | List of all members
helicscpp::HelicsException Class Reference

#include <helicsExceptions.hpp>

+ Inheritance diagram for helicscpp::HelicsException:

Public Member Functions

 HelicsException (int error_code, const char *errorString)
 
int errorCode () const
 

Detailed Description

defining an exception class for helics errors

Constructor & Destructor Documentation

◆ HelicsException()

helicscpp::HelicsException::HelicsException ( int  error_code,
const char *  errorString 
)
inlineexplicit

constructor for the exception

Parameters
error_codean integer code of the error
errorStringa string describing the error

Member Function Documentation

◆ errorCode()

int helicscpp::HelicsException::errorCode ( ) const
inline

get the error code


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