Alexandria
2.27.0
SDC-CH common library for the Euclid project
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Pyston
Pyston
PythonExceptions.h
Go to the documentation of this file.
1
18
#ifndef PYSTON_PYTHONEXCEPTIONS_H
19
#define PYSTON_PYTHONEXCEPTIONS_H
20
21
#include <exception>
22
23
namespace
Pyston {
24
30
class
UnrecoverableError
:
public
std::logic_error
{
31
public
:
32
38
explicit
UnrecoverableError
(
const
std::string
& msg) : std::
logic_error
(msg) {}
39
40
virtual
~UnrecoverableError
() =
default
;
41
};
42
48
class
RecoverableError
:
public
std::logic_error
{
49
public
:
50
explicit
RecoverableError
(
const
std::string
& msg) : std::
logic_error
(msg) {}
51
virtual
~RecoverableError
() =
default
;
52
};
53
54
}
// namespace Pyston
55
56
#endif // PYSTON_PYTHONEXCEPTIONS_H
Pyston::UnrecoverableError::UnrecoverableError
UnrecoverableError(const std::string &msg)
Definition:
PythonExceptions.h:38
Pyston::UnrecoverableError::~UnrecoverableError
virtual ~UnrecoverableError()=default
Pyston::RecoverableError::RecoverableError
RecoverableError(const std::string &msg)
Definition:
PythonExceptions.h:50
std::string
STL class.
Pyston::RecoverableError
Definition:
PythonExceptions.h:48
Pyston::RecoverableError::~RecoverableError
virtual ~RecoverableError()=default
std::logic_error
STL class.
Pyston::UnrecoverableError
Definition:
PythonExceptions.h:30
Generated by
1.8.5