pyerrors.h File Reference

Classes

struct  PyBaseExceptionObject
 
struct  PySyntaxErrorObject
 
struct  PyImportErrorObject
 
struct  PyUnicodeErrorObject
 
struct  PySystemExitObject
 
struct  PyOSErrorObject
 
struct  PyStopIterationObject
 

Macros

#define PyException_HEAD
 
#define PyExceptionClass_Name(x)
 
#define Py_FatalError(message)
 

Typedefs

typedef PyOSErrorObject PyEnvironmentErrorObject
 

Functions

 PyAPI_FUNC (void) _PyErr_SetKeyError(PyObject *)
 
 PyAPI_FUNC (_PyErr_StackItem *) _PyErr_GetTopmostException(PyThreadState *tstate)
 
 PyAPI_FUNC (PyObject *) _PyErr_FormatFromCause(PyObject *exception
 
const char int PySignal_SetWakeupFd (int fd)
 
 PyAPI_FUNC (int) _PyErr_CheckSignals(void)
 
 Py_DEPRECATED (3.3) PyAPI_FUNC(PyObject *) PyUnicodeEncodeError_Create(const char *encoding
 

Variables

const char * format
 
int lineno
 
int int col_offset
 
const Py_UNICODEobject
 
const Py_UNICODE Py_ssize_t length
 
const Py_UNICODE Py_ssize_t Py_ssize_t start
 
const Py_UNICODE Py_ssize_t Py_ssize_t Py_ssize_t end
 
const Py_UNICODE Py_ssize_t Py_ssize_t Py_ssize_t const char * reason
 
PyObjectobj
 
const char * message
 

Macro Definition Documentation

◆ PyException_HEAD

#define PyException_HEAD

◆ PyExceptionClass_Name

#define PyExceptionClass_Name (   x)

◆ Py_FatalError

#define Py_FatalError (   message)

Typedef Documentation

◆ PyEnvironmentErrorObject

Function Documentation

◆ PyAPI_FUNC() [1/4]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [2/4]

PyAPI_FUNC ( _PyErr_StackItem )

◆ PyAPI_FUNC() [3/4]

PyAPI_FUNC ( PyObject )

◆ PySignal_SetWakeupFd()

const char int PySignal_SetWakeupFd ( int  fd)

◆ PyAPI_FUNC() [4/4]

PyAPI_FUNC ( int  )

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  3) const

Variable Documentation

◆ format

const char* format

◆ lineno

const char int lineno

◆ col_offset

int int col_offset

◆ object

◆ length

Py_ssize_t length

◆ start

Py_ssize_t start

◆ end

◆ reason

Py_ssize_t Py_ssize_t const char* reason

◆ obj

PyObject* obj

◆ message

const char * message