- PyErr_BadArgument
int PyErr_BadArgument()
- PyErr_BadInternalall
void PyErr_BadInternalall()
- PyErr_CheckSignals
int PyErr_CheckSignals()
- PyErr_Clear
void PyErr_Clear()
- PyErr_ExceptionMatches
int PyErr_ExceptionMatches(PyObject*)
- PyErr_Fetch
void PyErr_Fetch(PyObject**, PyObject**, PyObject**)
- PyErr_Format
PyObject* PyErr_Format(PyObject* exception, const(char)* format, ...)
- PyErr_GivenExceptionMatches
int PyErr_GivenExceptionMatches(PyObject*, PyObject*)
- PyErr_NewException
PyObject* PyErr_NewException(const(char)* name, PyObject* base, PyObject* dict)
- PyErr_NewExceptionWithDoc
PyObject* PyErr_NewExceptionWithDoc(const(char)* name, const(char)* doc, PyObject* base, PyObject* dict)
- PyErr_NoMemory
PyObject* PyErr_NoMemory()
- PyErr_NormalizeException
void PyErr_NormalizeException(PyObject**, PyObject**, PyObject**)
- PyErr_Occurred
PyObject* PyErr_Occurred()
- PyErr_ProgramText
PyObject* PyErr_ProgramText(const(char)* filename, int lineno)
- PyErr_Restore
void PyErr_Restore(PyObject*, PyObject*, PyObject*)
- PyErr_SetExcFromWindowsErr
PyObject* PyErr_SetExcFromWindowsErr(PyObject*, int)
Availability: Windows only
- PyErr_SetExcFromWindowsErrWithFilename
PyObject* PyErr_SetExcFromWindowsErrWithFilename(PyObject* exc, int ierr, const(char)* filename)
Availability: Windows only
- PyErr_SetExcFromWindowsErrWithFilenameObject
PyObject* PyErr_SetExcFromWindowsErrWithFilenameObject(PyObject*, int, PyObject*)
Availability: Windows only
- PyErr_SetExcFromWindowsErrWithUnicodeFilename
PyObject* PyErr_SetExcFromWindowsErrWithUnicodeFilename(PyObject*, int, Py_UNICODE*)
Availability: Windows only
- PyErr_SetFromErrno
PyObject* PyErr_SetFromErrno(PyObject*)
- PyErr_SetFromErrnoWithFilename
PyObject* PyErr_SetFromErrnoWithFilename(PyObject* exc, char* filename)
- PyErr_SetFromErrnoWithFilenameObject
PyObject* PyErr_SetFromErrnoWithFilenameObject(PyObject*, PyObject*)
- PyErr_SetFromErrnoWithUnicodeFilename
PyObject* PyErr_SetFromErrnoWithUnicodeFilename(PyObject*, Py_UNICODE*)
- PyErr_SetFromWindowsErr
PyObject* PyErr_SetFromWindowsErr(int)
Availability: Windows only
- PyErr_SetFromWindowsErrWithFilename
PyObject* PyErr_SetFromWindowsErrWithFilename(int ierr, const(char)* filename)
Availability: Windows only
- PyErr_SetFromWindowsErrWithFilenameObject
PyObject* PyErr_SetFromWindowsErrWithFilenameObject(int, const(char)*)
Availability: Windows only
- PyErr_SetFromWindowsErrWithUnicodeFilename
PyObject* PyErr_SetFromWindowsErrWithUnicodeFilename(int, Py_UNICODE*)
Availability: Windows only
- PyErr_SetInterrupt
void PyErr_SetInterrupt()
- PyErr_SetNone
void PyErr_SetNone(PyObject*)
- PyErr_SetObject
void PyErr_SetObject(PyObject*, PyObject*)
- PyErr_SetString
void PyErr_SetString(PyObject* exception, const(char)* string)
- PyErr_SyntaxLocation
void PyErr_SyntaxLocation(const(char)* filename, int lineno)
- PyErr_SyntaxLocationEx
void PyErr_SyntaxLocationEx(const(char)* filename, int lineno, int col_offset)
- PyErr_Warn
int PyErr_Warn(PyObject*, char*)
- PyErr_WarnEx
int PyErr_WarnEx(PyObject*, char*, Py_ssize_t)
- PyErr_WarnExplicit
int PyErr_WarnExplicit(PyObject*, const(char)*, const(char)*, int, const(char)*, PyObject*)
- PyErr_WriteUnraisable
void PyErr_WriteUnraisable(PyObject*)
- PyExceptionClass_Check
int PyExceptionClass_Check(PyObject* x)
- PyExceptionClass_Name
int PyExceptionClass_Name(PyObject* x)
- PyExceptionInstance_Check
int PyExceptionInstance_Check(PyObject* x)
- PyExceptionInstance_Class
int PyExceptionInstance_Class(PyObject* x)
- PyException_GetCause
PyObject* PyException_GetCause(PyObject*)
Cause manipulation (PEP 3134)
- PyException_GetContext
PyObject* PyException_GetContext(PyObject*)
Context manipulation (PEP 3134)
- PyException_GetTraceback
PyObject* PyException_GetTraceback(PyObject*)
Traceback manipulation (PEP 3134)
- PyException_SetCause
void PyException_SetCause(PyObject*, PyObject*)
Cause manipulation (PEP 3134)
- PyException_SetContext
void PyException_SetContext(PyObject*, PyObject*)
Context manipulation (PEP 3134)
- PyException_SetTraceback
int PyException_SetTraceback(PyObject*, PyObject*)
Traceback manipulation (PEP 3134)
- PyOS_snprintf
int PyOS_snprintf(char* str, size_t size, const(char)* format, ...)
- PyOS_vsnprintf
int PyOS_vsnprintf(char* str, size_t size, const(char)* format, va_list va)
- PyUnicodeDecodeError_Create
PyObject* PyUnicodeDecodeError_Create(const(char)* encoding, const(char)* object, Py_ssize_t length, Py_ssize_t start, Py_ssize_t end, const(char)* reason)
create a UnicodeDecodeError object
- PyUnicodeDecodeError_GetEncoding
PyObject* PyUnicodeDecodeError_GetEncoding(PyObject*)
get the encoding attribute
- PyUnicodeDecodeError_GetEnd
int PyUnicodeDecodeError_GetEnd(PyObject*, Py_ssize_t*)
get the value of the end attribute (the int *may not be NULL)
return 0 on success, -1 on failure
- PyUnicodeDecodeError_GetObject
PyObject* PyUnicodeDecodeError_GetObject(PyObject*)
- PyUnicodeDecodeError_GetReason
PyObject* PyUnicodeDecodeError_GetReason(PyObject*)
get the value of the reason attribute
- PyUnicodeDecodeError_GetStart
int PyUnicodeDecodeError_GetStart(PyObject*, Py_ssize_t*)
get the value of the start attribute (the int * may not be NULL)
return 0 on success, -1 on failure
- PyUnicodeDecodeError_SetEnd
int PyUnicodeDecodeError_SetEnd(PyObject*, Py_ssize_t)
assign a new value to the end attribute
return 0 on success, -1 on failure
- PyUnicodeDecodeError_SetReason
int PyUnicodeDecodeError_SetReason(PyObject* exc, const(char)* reason)
assign a new value to the reason attribute
return 0 on success, -1 on failure
- PyUnicodeDecodeError_SetStart
int PyUnicodeDecodeError_SetStart(PyObject*, Py_ssize_t)
assign a new value to the start attribute
return 0 on success, -1 on failure
- PyUnicodeEncodeError_Create
PyObject* PyUnicodeEncodeError_Create(const(char)* encoding, Py_UNICODE* object, Py_ssize_t length, Py_ssize_t start, Py_ssize_t end, const(char)* reason)
create a UnicodeEncodeError object
- PyUnicodeEncodeError_GetEncoding
PyObject* PyUnicodeEncodeError_GetEncoding(PyObject*)
get the encoding attribute
- PyUnicodeEncodeError_GetEnd
int PyUnicodeEncodeError_GetEnd(PyObject*, Py_ssize_t*)
get the value of the end attribute (the int *may not be NULL)
return 0 on success, -1 on failure
- PyUnicodeEncodeError_GetObject
PyObject* PyUnicodeEncodeError_GetObject(PyObject*)
- PyUnicodeEncodeError_GetReason
PyObject* PyUnicodeEncodeError_GetReason(PyObject*)
get the value of the reason attribute
- PyUnicodeEncodeError_GetStart
int PyUnicodeEncodeError_GetStart(PyObject*, Py_ssize_t*)
get the value of the start attribute (the int * may not be NULL)
return 0 on success, -1 on failure
- PyUnicodeEncodeError_SetEnd
int PyUnicodeEncodeError_SetEnd(PyObject*, Py_ssize_t)
assign a new value to the end attribute
return 0 on success, -1 on failure
- PyUnicodeEncodeError_SetReason
int PyUnicodeEncodeError_SetReason(PyObject* exc, const(char)* reason)
assign a new value to the reason attribute
return 0 on success, -1 on failure
- PyUnicodeEncodeError_SetStart
int PyUnicodeEncodeError_SetStart(PyObject*, Py_ssize_t)
assign a new value to the start attribute
return 0 on success, -1 on failure
- PyUnicodeTranslateError_Create
PyObject* PyUnicodeTranslateError_Create(Py_UNICODE* object, Py_ssize_t length, Py_ssize_t start, Py_ssize_t end, const(char)* reason)
create a UnicodeTranslateError object
- PyUnicodeTranslateError_GetEnd
int PyUnicodeTranslateError_GetEnd(PyObject*, Py_ssize_t*)
get the value of the end attribute (the int *may not be NULL)
return 0 on success, -1 on failure
- PyUnicodeTranslateError_GetObject
PyObject* PyUnicodeTranslateError_GetObject(PyObject*)
- PyUnicodeTranslateError_GetReason
PyObject* PyUnicodeTranslateError_GetReason(PyObject*)
get the value of the reason attribute
- PyUnicodeTranslateError_GetStart
int PyUnicodeTranslateError_GetStart(PyObject*, Py_ssize_t*)
get the value of the start attribute (the int * may not be NULL)
return 0 on success, -1 on failure
- PyUnicodeTranslateError_SetEnd
int PyUnicodeTranslateError_SetEnd(PyObject*, Py_ssize_t)
assign a new value to the end attribute
return 0 on success, -1 on failure
- PyUnicodeTranslateError_SetReason
int PyUnicodeTranslateError_SetReason(PyObject* exc, const(char)* reason)
assign a new value to the reason attribute
return 0 on success, -1 on failure
- PyUnicodeTranslateError_SetStart
int PyUnicodeTranslateError_SetStart(PyObject*, Py_ssize_t)
assign a new value to the start attribute
return 0 on success, -1 on failure
- Py_FatalError
void Py_FatalError(const(char)* message)
- _PyErr_BadInternalCall
void _PyErr_BadInternalCall(const(char)* filename, int lineno)
Mirror pyerrors.h