/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/stable/src/core/include/RAT/FatalError.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/stable/src/core/include/RAT/FatalError.hh Source File
Ratpac-two
FatalError.hh
1 
11 #ifndef __RAT_FatalError__
12 #define __RAT_FatalError__
13 
14 #include <stdexcept>
15 #include <string>
16 
17 namespace RAT {
18 
19 class FatalError : public std::runtime_error {
20  public:
21  FatalError(const std::string &message, int return_code = 1) : std::runtime_error(message), return_code(return_code) {}
23 };
24 
25 } // namespace RAT
26 
27 #endif
Definition: FatalError.hh:19
int return_code
Definition: FatalError.hh:22
Definition: CCCrossSecMessenger.hh:29