pyerr

package
v8.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadArgument

func BadArgument() int

BadArgument PyErr_BadArgument

func BadInternalCall

func BadInternalCall()

BadInternalCall PyErr_BadInternalCall

func CheckSignals

func CheckSignals() int

CheckSignals PyErr_CheckSignals

func Clear

func Clear()

Clear PyErr_Clear

func ExceptionMatches

func ExceptionMatches(exc *python.PyObject) bool

ExceptionMatches PyErr_ExceptionMatches

func Fetch

Fetch PyErr_Fetch

func GetExcInfo

func GetExcInfo() (*python.PyObject, *python.PyObject, *python.PyObject)

GetExcInfo PyErr_GetExcInfo

func GivenExceptionMatches

func GivenExceptionMatches(given, exc *python.PyObject) bool

GivenExceptionMatches PyErr_GivenExceptionMatches

func NewException

func NewException(name string, base, dict *python.PyObject) *python.PyObject

NewException PyErr_NewException

func NewExceptionWithDoc

func NewExceptionWithDoc(name, doc string, base, dict *python.PyObject) *python.PyObject

NewExceptionWithDoc PyErr_NewExceptionWithDoc

func NoMemory

func NoMemory() *python.PyObject

NoMemory PyErr_NoMemory

func NormalizeException

func NormalizeException(exc, val, tb *python.PyObject) (*python.PyObject, *python.PyObject, *python.PyObject)

NormalizeException PyErr_NormalizeException

func Occurred

func Occurred() *python.PyObject

Occurred PyErr_Occurred

func Print

func Print()

Print PyErr_Print

func PrintEx

func PrintEx(setSysLastVars bool)

PrintEx PyErr_PrintEx

func Restore

func Restore(typePy, value, traceback *python.PyObject)

Restore PyErr_Restore

func SetExcInfo

func SetExcInfo(typePy, value, traceback *python.PyObject)

SetExcInfo PyErr_SetExcInfo

func SetImportError

func SetImportError(msg, name, path *python.PyObject) *python.PyObject

SetImportError PyErr_SetImportError

func SetImportErrorSubclass

func SetImportErrorSubclass(exception, msg, name, path *python.PyObject) *python.PyObject

SetImportErrorSubclass PyErr_SetImportErrorSubclass

func SetInterrupt

func SetInterrupt()

SetInterrupt PyErr_SetInterrupt

func SetNone

func SetNone(typePy *python.PyObject)

SetNone PyErr_SetNone

func SetObject

func SetObject(typePy, value *python.PyObject)

SetObject PyErr_SetObject

func SetString

func SetString(typePy *python.PyObject, message string)

SetString PyErr_SetString

func SyntaxLocation

func SyntaxLocation(filename string, lineno int)

SyntaxLocation PyErr_SyntaxLocation

func SyntaxLocationEx

func SyntaxLocationEx(filename string, lineno, colOffset int)

SyntaxLocationEx PyErr_SyntaxLocationEx

func SyntaxLocationObject

func SyntaxLocationObject(filename *python.PyObject, lineno, colOffset int)

SyntaxLocationObject PyErr_SyntaxLocationObject

func WarnEx

func WarnEx(category *python.PyObject, message string, stackLevel int) bool

WarnEx PyErr_WarnEx

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

func WriteUnraisable(obj *python.PyObject)

WriteUnraisable PyErr_WriteUnraisable

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL