pyd v0.14.3 (2022-03-12T16:12:50Z)
Home
Dub
Repo
PythonException
pyd
exception
This simple exception class holds a Python exception.
class
PythonException : Exception {
protected
PyObject
*
m_type
;
protected
PyObject
*
m_value
;
protected
PyObject
*
m_trace
;
this
(PyObject* type, PyObject* value, PyObject* traceback, string file, size_t line);
~this
();
PyObject
*
type
();
PyObject
*
value
();
PyObject
*
traceback
();
py_message
[@property getter];
py_offset
[@property getter];
}
Constructors
this
this
(PyObject* type, PyObject* value, PyObject* traceback, string file, size_t line)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
traceback
PyObject
*
traceback
()
Undocumented in source. Be warned that the author may not have intended to support it.
type
PyObject
*
type
()
Undocumented in source. Be warned that the author may not have intended to support it.
value
PyObject
*
value
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
py_message
py_message
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
py_offset
py_offset
[@property getter]
m_trace
PyObject
*
m_trace
;
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
m_type
PyObject
*
m_type
;
m_value
PyObject
*
m_value
;
Undocumented in source.
Meta
Source
See Implementation
pyd
exception
aliases
exception_catcher_PyObjectPtr
exception_catcher_int
exception_catcher_void
classes
PythonException
functions
error_code
exception_catcher
exception_catcher_nogc
handle_exception
printGenericError
printSyntaxError
This simple exception class holds a Python exception.