Objects/exceptionsImpl

Search:
Group by:
Source   Edit  

Procs

proc fromBltinSyntaxError(e: SyntaxError; fileName: PyStrObject): PyExceptionObject {.
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc isExceptionType(obj: PyObject): bool {....raises: [], tags: [], forbids: [].}
check if is of BaseException type Source   Edit  
proc matchExcp(target: PyTypeObject; current: PyExceptionObject): PyBoolObject {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc newPyArithmeticErrorObjectMagic(args: openArray[PyObject] = @[];
                                     kwargs: PyKwArgType = nil): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyAssertionErrorObjectMagic(args: openArray[PyObject] = @[];
                                    kwargs: PyKwArgType = nil): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyAttributeErrorObjectMagic(args: openArray[PyObject] = @[];
                                    kwargs: PyKwArgType = nil): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyBaseErrorObjectMagic(args: openArray[PyObject] = @[];
                               kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyBufferErrorObjectMagic(args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyEOFErrorObjectMagic(args: openArray[PyObject] = @[];
                              kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyImportErrorObjectMagic(args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyLockErrorObjectMagic(args: openArray[PyObject] = @[];
                               kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyLookupErrorObjectMagic(args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyMemoryErrorObjectMagic(args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyNameErrorObjectMagic(args: openArray[PyObject] = @[];
                               kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyOSErrorObjectMagic(args: openArray[PyObject] = @[];
                             kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyRuntimeErrorObjectMagic(args: openArray[PyObject] = @[];
                                  kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyStopIterErrorObjectMagic(args: openArray[PyObject] = @[];
                                   kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPySyntaxErrorObjectMagic(args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPySystemErrorObjectMagic(args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyTypeErrorObjectMagic(args: openArray[PyObject] = @[];
                               kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyValueErrorObjectMagic(args: openArray[PyObject] = @[];
                                kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyArithmeticErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyAssertionErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyAttributeErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyBaseErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyBufferErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyEOFErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyImportErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyLockErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyLookupErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyMemoryErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyNameErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyOSErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyRuntimeErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyStopIterErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPySyntaxErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPySystemErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyTypeErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyValueErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc setString(e: PyBaseExceptionObject; m: PyStrObject) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc setString(e: PyBaseExceptionObject; m: string) {....raises: [],
    tags: [RootEffect], forbids: [].}
_PyErr_SetString Source   Edit  
proc strPyArithmeticErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyAssertionErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyAttributeErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyBaseErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyBufferErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyEOFErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyImportErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyLockErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyLookupErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyMemoryErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyNameErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyOSErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyRuntimeErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyStopIterErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPySyntaxErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPySystemErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyTypeErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc strPyValueErrorObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  

Exports

PyRecursionErrorObject, newRuntimeError, newPyZeroDivisionErrorSimple, ofPyKeyErrorObject, ofPyValueErrorObject, newModuleNotFoundError, checkArgNum, PySyntaxErrorObject, ofPyIndexErrorObject, newRuntimeError, ofExactPyMemoryErrorObject, newBufferError, pyStopIterationObjectType, newSystemError, newPyBufferErrorSimple, PyRuntimeErrorObject, newPyModuleNotFoundErrorSimple, pyImportErrorObjectType, newUnboundLocalError, ofPyEOFErrorObject, pyValueErrorObjectType, TraceBack, newPySystemErrorSimple, ofExactPyIOErrorObject, newPyBaseErrorSimple, newBaseError, PyStopIterationObject, newPyExceptionSimple, newLockError, newLookupError, ofExactPyBaseExceptionObject, ofPyBaseExceptionObject, ofPyStopIterErrorObject, newNotImplementedError, newZeroDivisionError, pyKeyErrorObjectType, errArgNum, PyUnboundLocalErrorObject, newOSError, PyBaseErrorObject, newTypeError, newSystemExit, ofExactPyRuntimeErrorObject, pyLockErrorObjectType, pyArithmeticErrorObjectType, pyBaseExceptionObjectType, newKeyError, newGeneratorExit, ofPySystemErrorObject, newPyLockErrorSimple, ofExactPyNameErrorObject, pyGeneratorExitObjectType, PyMemoryErrorObject, ofExactPyZeroDivisionErrorObject, newOverflowError, PyAttributeErrorObject, PyZeroDivisionErrorObject, PyOSErrorObject, ofPyBufferErrorObject, newPyGeneratorExitSimple, newSystemError, pySyntaxErrorObjectType, ofPyExceptionObject, newValueError, newPyAttributeErrorSimple, newPyMemoryErrorSimple, newIndexError, ofPySyntaxErrorObject, PyKeyboardInterruptObject, subErrs, PyErr_Format, newMemoryError, isExceptionOf, pyLookupErrorObjectType, newBaseException, ofExactPyNotImplementedErrorObject, newPyNameErrorSimple, newPyOverflowErrorSimple, ofExactPyIndexErrorObject, pyStopIterErrorObjectType, PyIndexErrorObject, ofPySystemExitObject, ofExactPyAssertionErrorObject, newNameError, getIterableWithCheck, newAttributeError, newPyTypeErrorSimple, pyZeroDivisionErrorObjectType, PyIOErrorObject, ofPyRuntimeErrorObject, newUnboundLocalError, errorIfNotBool, PyBufferErrorObject, newRecursionError, ExceptionToken, ofPyAttributeErrorObject, ofExactPyValueErrorObject, newPyStopIterErrorSimple, pyModuleNotFoundErrorObjectType, PyExceptionObject, errorIfNotString, pyBufferErrorObjectType, ofPyImportErrorObject, ofExactPyOverflowErrorObject, ofPyOverflowErrorObject, newPySystemExitSimple, newPyValueErrorSimple, ofExactPyImportErrorObject, ofExactPyOSErrorObject, newNotImplementedError, pyMemoryErrorObjectType, ofPyLockErrorObject, newValueError, pyOverflowErrorObjectType, PyKeyErrorObject, newIndexTypeError, newBaseException, newMemoryError, newPyKeyboardInterruptSimple, ofPyUnboundLocalErrorObject, PyArithmeticErrorObject, newPyNotImplementedErrorSimple, isStopIter, ofExactPyEOFErrorObject, newModuleNotFoundError, PyBaseExceptionObject, newPyRecursionErrorSimple, pyUnboundLocalErrorObjectType, PyStopIterErrorObject, newSyntaxError, newSyntaxError, pyExceptionObjectType, checkArgNumAtLeast, newLockError, newPyUnboundLocalErrorSimple, ofPyZeroDivisionErrorObject, newPyIOErrorSimple, newPyAssertionErrorSimple, pyEOFErrorObjectType, ofPyNameErrorObject, ofPyAssertionErrorObject, newPyImportErrorSimple, ofExactPyLookupErrorObject, ofExactPyModuleNotFoundErrorObject, newLookupError, PySystemExitObject, newPyBaseExceptionSimple, newArithmeticError, $, ofExactPySystemErrorObject, PyAssertionErrorObject, isThrownException, ofPyKeyboardInterruptObject, ofExactPySystemExitObject, ofExactPyGeneratorExitObject, newIOError, ofExactPyUnboundLocalErrorObject, checkArgNumAtMost, PyGeneratorExitObject, errorIfNot, ofPyMemoryErrorObject, checkArgNum, newBufferError, ofExactPyStopIterErrorObject, newNameError, PyModuleNotFoundErrorObject, PyTypeErrorObject, newSystemExit, ofExactPyExceptionObject, newZeroDivisionError, newPyRuntimeErrorSimple, pyNotImplementedErrorObjectType, pyBaseErrorObjectType, newPySyntaxErrorSimple, ofExactPySyntaxErrorObject, ofExactPyLockErrorObject, newPyIndexErrorSimple, newAttributeError, PyNameErrorObject, newKeyError, newOSError, newIOError, ofExactPyBufferErrorObject, newPyLookupErrorSimple, newStopIterError, newTypeError, retIfExc, ofPyOSErrorObject, pyRuntimeErrorObjectType, ofPyNotImplementedErrorObject, ofPyArithmeticErrorObject, newStopIterError, PyNotImplementedErrorObject, PySystemErrorObject, PyLookupErrorObject, getBltinName, newEOFError, newKeyboardInterrupt, PyValueErrorObject, pyKeyboardInterruptObjectType, newArithmeticError, pySystemExitObjectType, ofExactPyArithmeticErrorObject, ofPyGeneratorExitObject, ofPyTypeErrorObject, pyIndexErrorObjectType, newBaseError, ofPyRecursionErrorObject, newAssertionError, newRecursionError, ofExactPyKeyErrorObject, ofExactPyKeyboardInterruptObject, getTokenName, newPyKeyErrorSimple, ofPyLookupErrorObject, ofPyIOErrorObject, pyOSErrorObjectType, newEOFError, pyAttributeErrorObjectType, pySystemErrorObjectType, newKeyboardInterrupt, newGeneratorExit, pyRecursionErrorObjectType, pyTypeErrorObjectType, newPyOSErrorSimple, PyEOFErrorObject, pyIOErrorObjectType, newPyStopIterationSimple, PyLockErrorObject, pyAssertionErrorObjectType, newPyArithmeticErrorSimple, ofExactPyAttributeErrorObject, ofExactPyTypeErrorObject, newImportError, newAttributeError, PyImportErrorObject, newIndexError, ofPyModuleNotFoundErrorObject, PyOverflowErrorObject, newAssertionError, getBltinName, newPyEOFErrorSimple, pyNameErrorObjectType, retIfExc, newImportError, errorIfNot, ofExactPyRecursionErrorObject, newOverflowError