27 #ifndef ANTIOCH_EXCEPTIONS_H
28 #define ANTIOCH_EXCEPTIONS_H
67 FileError(
const std::string& filename) :
std::runtime_error(
"Error accessing file: " + filename ) {}
77 :
std::runtime_error (description)
88 :
std::runtime_error (description)
99 :
std::runtime_error (description)
105 #define ANTIOCH_THROW(e) do { throw e; } while (0)
107 #endif // ANTIOCH_EXCEPTIONS_H
FileError(const std::string &filename)
FailedNewtonTTvInversion(const std::string &description)
A class representing error in units.
A class representing failed Newton convergence in T/Tv inversion.
ParsingError(const std::string &description)
A class to stub for features that should be in Antioch, but haven't been written yet, to be thrown by "antioch_not_implemented();".
UnitError(const std::string &description)
A class representing error while parsing.
The parameters are reduced parameters.
A class representing a failed attempt by the library to open a file (or construct an fstream...
A class to represent the internal "this should never happen" errors, to be thrown by "antioch_error()...