Documentation
¶
Index ¶
- func BadArgument() int
- func BadInternalCall()
- func CheckSignals() int
- func Clear()
- func ExceptionMatches(exc *python.PyObject) bool
- func Fetch() (*python.PyObject, *python.PyObject, *python.PyObject)
- func GetExcInfo() (*python.PyObject, *python.PyObject, *python.PyObject)
- func GivenExceptionMatches(given, exc *python.PyObject) bool
- func NewException(name string, base, dict *python.PyObject) *python.PyObject
- func NewExceptionWithDoc(name, doc string, base, dict *python.PyObject) *python.PyObject
- func NoMemory() *python.PyObject
- func NormalizeException(exc, val, tb *python.PyObject) (*python.PyObject, *python.PyObject, *python.PyObject)
- func Occurred() *python.PyObject
- func Print()
- func PrintEx(setSysLastVars bool)
- func Restore(typePy, value, traceback *python.PyObject)
- func SetExcInfo(typePy, value, traceback *python.PyObject)
- func SetImportError(msg, name, path *python.PyObject) *python.PyObject
- func SetImportErrorSubclass(exception, msg, name, path *python.PyObject) *python.PyObject
- func SetInterrupt()
- func SetNone(typePy *python.PyObject)
- func SetObject(typePy, value *python.PyObject)
- func SetString(typePy *python.PyObject, message string)
- func SyntaxLocation(filename string, lineno int)
- func SyntaxLocationEx(filename string, lineno, colOffset int)
- func SyntaxLocationObject(filename *python.PyObject, lineno, colOffset int)
- func WarnEx(category *python.PyObject, message string, stackLevel int) bool
- func WarnExplicit(category *python.PyObject, message, filename string, lineno int, module string, ...) bool
- func WarnExplicitObject(category, message, filename *python.PyObject, lineno int, ...) bool
- func WriteUnraisable(obj *python.PyObject)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExceptionMatches ¶
ExceptionMatches PyErr_ExceptionMatches
func GetExcInfo ¶
GetExcInfo PyErr_GetExcInfo
func GivenExceptionMatches ¶
GivenExceptionMatches PyErr_GivenExceptionMatches
func NewException ¶
NewException PyErr_NewException
func NewExceptionWithDoc ¶
NewExceptionWithDoc PyErr_NewExceptionWithDoc
func NormalizeException ¶
func NormalizeException(exc, val, tb *python.PyObject) (*python.PyObject, *python.PyObject, *python.PyObject)
NormalizeException PyErr_NormalizeException
func SetExcInfo ¶
SetExcInfo PyErr_SetExcInfo
func SetImportError ¶
SetImportError PyErr_SetImportError
func SetImportErrorSubclass ¶
SetImportErrorSubclass PyErr_SetImportErrorSubclass
func SyntaxLocation ¶
SyntaxLocation PyErr_SyntaxLocation
func SyntaxLocationEx ¶
SyntaxLocationEx PyErr_SyntaxLocationEx
func SyntaxLocationObject ¶
SyntaxLocationObject PyErr_SyntaxLocationObject
func WarnExplicit ¶
func WarnExplicit(category *python.PyObject, message, filename string, lineno int, module string, registry *python.PyObject) bool
WarnExplicit PyErr_WarnExplicit
func WarnExplicitObject ¶
func WarnExplicitObject(category, message, filename *python.PyObject, lineno int, module, registry *python.PyObject) bool
WarnExplicitObject PyErr_WarnExplicitObject
func WriteUnraisable ¶
WriteUnraisable PyErr_WriteUnraisable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.