Phoebe developer's documentation  1.1.0
Phonon and Electron Boltzmann Equations
Error Class Reference

Object used to print an error message, and stop the code.

#include <exceptions.h>

Inheritance diagram for Error:

Public Member Functions

 Error (const std::string &errMessage, const int &errCode=1)
 object constructor. More...
 

Constructor & Destructor Documentation

◆ Error()

Error::Error ( const std::string &  errMessage,
const int &  errCode = 1 
)
explicit
Parameters
errorMessagemessage to be print to the user.
errCodereturn integer error code, should be different from 0!
Here is the call graph for this function: