PyBaseErrorObject is old alias in NPython, and this makes it consist as so that all exceptions are in form of XxxError
Types
PyArithmeticErrorObject = ref object of PyExceptionObject
- Source Edit
PyAssertionErrorObject = ref object of PyExceptionObject
- Source Edit
PyAttributeErrorObject = ref object of PyExceptionObject name*: PyObject obj*: PyObject
- Source Edit
PyBaseExceptionGroupObject = ref object of PyExceptionObject message*: PyObject exceptions*: PyObject
- Source Edit
PyBaseExceptionObject = ref object of PyObject base_tk*: BaseExceptionToken thrown*: bool args*: PyTupleObject context*: PyBaseExceptionObject cause*: PyBaseExceptionObject suppress_context*: bool readNum*: int writeLock*: bool
- Source Edit
PyBufferErrorObject = ref object of PyExceptionObject
- Source Edit
PyEOFErrorObject = ref object of PyExceptionObject
- Source Edit
PyExceptionObject = ref object of PyBaseExceptionObject tk*: ExceptionToken
- Source Edit
PyGeneratorExitObject = ref object of PyExceptionObject
- Source Edit
PyImportErrorObject = ref object of PyExceptionObject msg*: PyObject name*: PyObject name_from*: PyObject path*: PyObject
- Source Edit
PyKeyboardInterruptObject = ref object of PyExceptionObject
- Source Edit
PyLockErrorObject = ref object of PyExceptionObject
- Source Edit
PyLookupErrorObject = ref object of PyExceptionObject
- Source Edit
PyMemoryErrorObject = ref object of PyExceptionObject
- Source Edit
PyNameErrorObject = ref object of PyExceptionObject name*: PyObject
- Source Edit
PyOSErrorObject = ref object of PyExceptionObject errno*: PyObject strerror*: PyObject filename*: PyObject filename2*: PyObject winerror*: PyObject written*: int
- Source Edit
PyReferenceErrorObject = ref object of PyExceptionObject
- Source Edit
PyRuntimeErrorObject = ref object of PyExceptionObject
- Source Edit
PyStopAsyncIterErrorObject = ref object of PyExceptionObject
- Source Edit
PyStopIterErrorObject = ref object of PyExceptionObject value*: PyObject
- Source Edit
PySyntaxErrorObject = ref object of PyExceptionObject msg*: PyObject filename*: PyObject lineno*: PyObject offset*: PyObject text*: PyObject end_lineno*: PyObject end_offset*: PyObject print_file_and_line*: PyObject metadata*: PyObject
- Source Edit
PySystemErrorObject = ref object of PyExceptionObject
- Source Edit
PySystemExitObject = ref object of PyExceptionObject code*: PyObject
- Source Edit
PyTypeErrorObject = ref object of PyExceptionObject
- Source Edit
PyValueErrorObject = ref object of PyExceptionObject
- Source Edit
Lets
pyArithmeticErrorObjectType {.inject.} = newBltinPyType("ArithmeticError", pyExceptionObjectType)
- Source Edit
pyAssertionErrorObjectType {.inject.} = newBltinPyType("AssertionError", pyExceptionObjectType)
- Source Edit
pyAttributeErrorObjectType {.inject.} = newBltinPyType("AttributeError", pyExceptionObjectType)
- Source Edit
pyBaseExceptionGroupObjectType {.inject.} = newBltinPyType("BaseExceptionGroup", pyExceptionObjectType)
- Source Edit
pyBaseExceptionObjectType {.inject.} = newBltinPyType("baseexception", pyObjectType)
- Source Edit
pyBufferErrorObjectType {.inject.} = newBltinPyType("BufferError", pyExceptionObjectType)
- Source Edit
pyEOFErrorObjectType {.inject.} = newBltinPyType("EOFError", pyExceptionObjectType)
- Source Edit
pyExceptionObjectType {.inject.} = newBltinPyType("exception", pyBaseExceptionObjectType)
- Source Edit
pyGeneratorExitObjectType {.inject.} = newBltinPyType("GeneratorExit", pyExceptionObjectType)
- Source Edit
pyImportErrorObjectType {.inject.} = newBltinPyType("ImportError", pyExceptionObjectType)
- Source Edit
pyKeyboardInterruptObjectType {.inject.} = newBltinPyType("KeyboardInterrupt", pyExceptionObjectType)
- Source Edit
pyLockErrorObjectType {.inject.} = newBltinPyType("LockError", pyExceptionObjectType)
- Source Edit
pyLookupErrorObjectType {.inject.} = newBltinPyType("LookupError", pyExceptionObjectType)
- Source Edit
pyMemoryErrorObjectType {.inject.} = newBltinPyType("MemoryError", pyExceptionObjectType)
- Source Edit
pyNameErrorObjectType {.inject.} = newBltinPyType("NameError", pyExceptionObjectType)
- Source Edit
pyOSErrorObjectType {.inject.} = newBltinPyType("OSError", pyExceptionObjectType)
- Source Edit
pyReferenceErrorObjectType {.inject.} = newBltinPyType("ReferenceError", pyExceptionObjectType)
- Source Edit
pyRuntimeErrorObjectType {.inject.} = newBltinPyType("RuntimeError", pyExceptionObjectType)
- Source Edit
pyStopAsyncIterErrorObjectType {.inject.} = newBltinPyType("StopAsyncIteration", pyExceptionObjectType)
- Source Edit
pyStopIterErrorObjectType {.inject.} = newBltinPyType("StopIteration", pyExceptionObjectType)
- Source Edit
pySyntaxErrorObjectType {.inject.} = newBltinPyType("SyntaxError", pyExceptionObjectType)
- Source Edit
pySystemErrorObjectType {.inject.} = newBltinPyType("SystemError", pyExceptionObjectType)
- Source Edit
pySystemExitObjectType {.inject.} = newBltinPyType("SystemExit", pyExceptionObjectType)
- Source Edit
pyTypeErrorObjectType {.inject.} = newBltinPyType("TypeError", pyExceptionObjectType)
- Source Edit
pyValueErrorObjectType {.inject.} = newBltinPyType("ValueError", pyExceptionObjectType)
- Source Edit
Procs
proc getBltinName(excp: BaseExceptionToken): string {....raises: [], tags: [], forbids: [].}
- Source Edit
proc getBltinName(excp: ExceptionToken): string {....raises: [], tags: [], forbids: [].}
- Source Edit
proc getTokenName(excp: ExceptionToken | BaseExceptionToken): string
- Source Edit
proc isExceptionOf(obj: PyObject; tk: ExceptionToken): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc isStopIter(obj: PyObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc newArithmeticError(): PyArithmeticErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newArithmeticError(msgStr: PyStrObject): PyArithmeticErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newAssertionError(): PyAssertionErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newAssertionError(msgStr: PyStrObject): PyAssertionErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newAttributeError(): PyAttributeErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newAttributeError(msgStr: PyStrObject): PyAttributeErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBaseError(): PyBaseErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBaseError(msgStr: PyStrObject): PyBaseErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBaseException(): PyBaseExceptionObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBaseException(msgStr: PyStrObject): PyBaseExceptionObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBaseExceptionGroup(): PyBaseExceptionGroupObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBaseExceptionGroup(msgStr: PyStrObject): PyBaseExceptionGroupObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBufferError(): PyBufferErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newBufferError(msgStr: PyStrObject): PyBufferErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newEOFError(): PyEOFErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newEOFError(msgStr: PyStrObject): PyEOFErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newGeneratorExit(): PyGeneratorExitObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newGeneratorExit(msgStr: PyStrObject): PyGeneratorExitObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newImportError(): PyImportErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newImportError(msgStr: PyStrObject): PyImportErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newKeyboardInterrupt(): PyKeyboardInterruptObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newKeyboardInterrupt(msgStr: PyStrObject): PyKeyboardInterruptObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newLockError(): PyLockErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newLockError(msgStr: PyStrObject): PyLockErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newLookupError(): PyLookupErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newLookupError(msgStr: PyStrObject): PyLookupErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newMemoryError(): PyMemoryErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newMemoryError(msgStr: PyStrObject): PyMemoryErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newNameError(): PyNameErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newNameError(msgStr: PyStrObject): PyNameErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newOSError(): PyOSErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newOSError(msgStr: PyStrObject): PyOSErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyArithmeticErrorSimple(): PyArithmeticErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyAssertionErrorSimple(): PyAssertionErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyAttributeErrorSimple(): PyAttributeErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyBaseExceptionGroupSimple(): PyBaseExceptionGroupObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyBaseExceptionSimple(): PyBaseExceptionObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyBufferErrorSimple(): PyBufferErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyEOFErrorSimple(): PyEOFErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyExceptionSimple(): PyExceptionObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyGeneratorExitSimple(): PyGeneratorExitObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyImportErrorSimple(): PyImportErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyKeyboardInterruptSimple(): PyKeyboardInterruptObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyLockErrorSimple(): PyLockErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyLookupErrorSimple(): PyLookupErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyMemoryErrorSimple(): PyMemoryErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyNameErrorSimple(): PyNameErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyOSErrorSimple(): PyOSErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyReferenceErrorSimple(): PyReferenceErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyRuntimeErrorSimple(): PyRuntimeErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyStopAsyncIterErrorSimple(): PyStopAsyncIterErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyStopIterErrorSimple(): PyStopIterErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySyntaxErrorSimple(): PySyntaxErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySystemErrorSimple(): PySystemErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySystemExitSimple(): PySystemExitObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyTypeErrorSimple(): PyTypeErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyValueErrorSimple(): PyValueErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newReferenceError(): PyReferenceErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newReferenceError(msgStr: PyStrObject): PyReferenceErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newRuntimeError(): PyRuntimeErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newRuntimeError(msgStr: PyStrObject): PyRuntimeErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newStopAsyncIterError(): PyStopAsyncIterErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newStopAsyncIterError(msgStr: PyStrObject): PyStopAsyncIterErrorObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newStopIterError(): PyStopIterErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newStopIterError(msgStr: PyStrObject): PyStopIterErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newSyntaxError(): PySyntaxErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newSyntaxError(msgStr: PyStrObject): PySyntaxErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newSystemError(): PySystemErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newSystemError(msgStr: PyStrObject): PySystemErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newSystemExit(): PySystemExitObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newSystemExit(msgStr: PyStrObject): PySystemExitObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newTypeError(): PyTypeErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newTypeError(msgStr: PyStrObject): PyTypeErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newValueError(): PyValueErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newValueError(msgStr: PyStrObject): PyValueErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc ofExactPyArithmeticErrorObject(obj`gensym63: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyAssertionErrorObject(obj`gensym130: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyAttributeErrorObject(obj`gensym69: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyBaseExceptionGroupObject(obj`gensym210: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyBaseExceptionObject(obj`gensym3: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyBufferErrorObject(obj`gensym77: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyEOFErrorObject(obj`gensym181: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyExceptionObject(obj`gensym18: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyGeneratorExitObject(obj`gensym198: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyImportErrorObject(obj`gensym120: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyKeyboardInterruptObject(obj`gensym204: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyLockErrorObject(obj`gensym114: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyLookupErrorObject(obj`gensym95: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyMemoryErrorObject(obj`gensym157: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyNameErrorObject(obj`gensym49: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyOSErrorObject(obj`gensym169: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyReferenceErrorObject(obj`gensym89: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyRuntimeErrorObject(obj`gensym136: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyStopAsyncIterErrorObject(obj`gensym108: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyStopIterErrorObject(obj`gensym101: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPySyntaxErrorObject(obj`gensym142: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPySystemErrorObject(obj`gensym163: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPySystemExitObject(obj`gensym191: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyTypeErrorObject(obj`gensym57: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyValueErrorObject(obj`gensym83: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyArithmeticErrorObject(obj`gensym63: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyAssertionErrorObject(obj`gensym130: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyAttributeErrorObject(obj`gensym69: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyBaseExceptionGroupObject(obj`gensym210: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyBaseExceptionObject(obj`gensym3: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyBufferErrorObject(obj`gensym77: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyEOFErrorObject(obj`gensym181: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
func ofPyExceptionClass(x: PyTypeObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
func ofPyExceptionInstance(x: PyObject): bool {....raises: [], tags: [], forbids: [].}
- PyExceptionInstance_Check Source Edit
proc ofPyExceptionObject(obj`gensym18: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyGeneratorExitObject(obj`gensym198: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyImportErrorObject(obj`gensym120: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyKeyboardInterruptObject(obj`gensym204: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyLockErrorObject(obj`gensym114: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyLookupErrorObject(obj`gensym95: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyMemoryErrorObject(obj`gensym157: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyNameErrorObject(obj`gensym49: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyOSErrorObject(obj`gensym169: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyReferenceErrorObject(obj`gensym89: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyRuntimeErrorObject(obj`gensym136: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyStopAsyncIterErrorObject(obj`gensym108: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyStopIterErrorObject(obj`gensym101: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPySyntaxErrorObject(obj`gensym142: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPySystemErrorObject(obj`gensym163: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPySystemExitObject(obj`gensym191: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyTypeErrorObject(obj`gensym57: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyValueErrorObject(obj`gensym83: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
func privateGetTracebackRef(exc: PyBaseExceptionObject): PyObject {.inline, ...raises: [], tags: [], forbids: [].}
- private. internal. Source Edit
func privateGetTracebackRef=(exc: PyBaseExceptionObject; val: PyObject) {. inline, ...raises: [], tags: [], forbids: [].}
- private. internal. Source Edit
Methods
method `$`(e: PyExceptionObject): string {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
Templates
template newPyBaseErrorSimple(): untyped
- Source Edit
template newPyStopAsyncIterationSimple(): untyped
- Source Edit
template newPyStopIterationSimple(): untyped
- Source Edit
template ofPyExceptionClass(x: PyObject): bool
- PyExceptionClass_Check Source Edit