gastro  0.1.0
 All Classes Files Functions Variables Pages
gastroexception.h
1 // -*- C++ -*-
2 //
3 //
4 //
5 //
6 #ifndef GASTRO_EXCEPTIONS_H
7 #define GASTRO_EXCEPTIONS_H
8 
9 #include <stdexcept>
10 #include "string"
11 
12 class GastroException : public std::runtime_error {
13 public:
14  GastroException(const std::string &Error) : std::runtime_error("GastroException: "+Error) { }
15 };
16 
17 
18 #endif
19