| helics 3.6.1

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
| ) |  |
| inline explicit

constructor for the exception

Parameters

  error_code | an integer code of the error
  errorString | a 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:

- helicsExceptions.hpp