Alexandria
2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
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
std::string
Pyston::RecoverableError
Definition
PythonExceptions.h:48
Pyston::RecoverableError::RecoverableError
RecoverableError(const std::string &msg)
Definition
PythonExceptions.h:50
Pyston::RecoverableError::~RecoverableError
virtual ~RecoverableError()=default
Pyston::UnrecoverableError
Definition
PythonExceptions.h:30
Pyston::UnrecoverableError::~UnrecoverableError
virtual ~UnrecoverableError()=default
Pyston::UnrecoverableError::UnrecoverableError
UnrecoverableError(const std::string &msg)
Definition
PythonExceptions.h:38
std::logic_error
Pyston
Definition
ExceptionRaiser.h:28
std
STL namespace.
Generated by
1.9.8