CASM  1.1.0
A Clusters Approach to Statistical Mechanics
errors.hh
Go to the documentation of this file.
1 #ifndef CASM_global_errors
2 #define CASM_global_errors
3 
4 #include <string>
5 
7 namespace CASM {
8 
9 class libcasm_runtime_error : public std::runtime_error {
10  public:
11  libcasm_runtime_error(std::string _what) : std::runtime_error(_what) {}
12 
14 
15  private:
16  std::string m_what;
17 };
18 
19 } // namespace CASM
20 
21 #endif
libcasm_runtime_error(std::string _what)
Definition: errors.hh:11
virtual ~libcasm_runtime_error()
Definition: errors.hh:13
Main CASM namespace.
Definition: APICommand.hh:8
Definition: stream_io.hh:24