Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Data Fields
python_error Struct Reference
Inheritance diagram for python_error:

Public Member Functions

 python_error (const python_error &other)
 python_error (python_error &&other)
void persist ()
 Saves the exception so that it can be re-thrown on a different thread.
void restore ()
 Sets the current Python error from this exception.

Data Fields

PyObject * type
PyObject * value
PyObject * traceback

Detailed Description

Definition at line 47 of file Exceptions.h.

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