![]() |
Scarab
v2.11.1
Project 8 C++ Utility Library
|
#include <pytypes.h>

Public Member Functions | |
| error_already_set () | |
| error_already_set (const error_already_set &)=default | |
| error_already_set (error_already_set &&)=default | |
| ~error_already_set () | |
| void | restore () |
| __attribute__ ((deprecated("Use of error_already_set.clear() is deprecated"))) void clear() | |
| bool | matches (handle exc) const |
| const object & | type () const |
| const object & | value () const |
| const object & | trace () const |
Private Attributes | |
| object | m_type |
| object | m_value |
| object | m_trace |
Fetch and hold an error which was already set in Python. An instance of this is typically thrown to propagate python-side errors back through C++ which can either be caught manually or else falls back to the function dispatcher (which then raises the captured error back to python).
|
inline |
|
default |
|
default |
|
inline |
Definition at line 1999 of file pybind11.h.
|
inline |
|
inline |
|
inline |
1.8.13