CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::runtime_error Class Reference

#include <errors.hh>

+ Inheritance diagram for CASM::runtime_error:

Detailed Description

Definition at line 34 of file errors.hh.

Public Member Functions

 runtime_error (std::string _what, int _code=ERR_UNKNOWN)
 
virtual ~runtime_error ()
 
int code () const
 

Private Attributes

int m_code
 

Constructor & Destructor Documentation

◆ runtime_error()

CASM::runtime_error::runtime_error ( std::string  _what,
int  _code = ERR_UNKNOWN 
)
inline

Definition at line 36 of file errors.hh.

◆ ~runtime_error()

virtual CASM::runtime_error::~runtime_error ( )
inlinevirtual

Definition at line 39 of file errors.hh.

Member Function Documentation

◆ code()

int CASM::runtime_error::code ( ) const
inline

Definition at line 41 of file errors.hh.

Member Data Documentation

◆ m_code

int CASM::runtime_error::m_code
private

Definition at line 44 of file errors.hh.


The documentation for this class was generated from the following file: