Lines Matching refs:PythonExceptionState
22 PythonExceptionState::PythonExceptionState(bool restore_on_exit) in PythonExceptionState() function in PythonExceptionState
27 PythonExceptionState::~PythonExceptionState() { in ~PythonExceptionState()
32 void PythonExceptionState::Acquire(bool restore_on_exit) { in Acquire()
55 void PythonExceptionState::Restore() { in Restore()
69 void PythonExceptionState::Discard() { in Discard()
75 void PythonExceptionState::Reset() { in Reset()
82 bool PythonExceptionState::HasErrorOccurred() { return PyErr_Occurred(); } in HasErrorOccurred()
84 bool PythonExceptionState::IsError() const { in IsError()
88 PythonObject PythonExceptionState::GetType() const { return m_type; } in GetType()
90 PythonObject PythonExceptionState::GetValue() const { return m_value; } in GetValue()
92 PythonObject PythonExceptionState::GetTraceback() const { return m_traceback; } in GetTraceback()
94 std::string PythonExceptionState::Format() const { in Format()
96 PythonExceptionState state(true); in Format()
106 PythonExceptionState bt_error_state(false); in Format()
125 std::string PythonExceptionState::ReadBacktrace() const { in ReadBacktrace()