PythonScript Xojo Plugin

PythonErrorTypes Module

A module that has constants to use with the PythonScript.SetError method

module PythonErrorTypes

Constants

AssertionError = 1Constant that represents Python AssertionError
AttributeError = 2Constant that represents Python AttributeError
EOFError = 3Constant that represents Python EOFError
FloatingPointError = 4Constant that represents Python FloatingPointError
IOError = 5Constant that represents Python IOError
ImportError = 6Constant that represents Python ImportError
IndexError = 7Constant that represents Python IndexError
KeyError = 8Constant that represents Python KeyError
KeyboardInterrupt = 9Constant that represents Python KeyboardInterrupt
MemoryError = 10Constant that represents Python MemoryError
NameError = 11Constant that represents Python NameError
NotImplementedError = 12Constant that represents Python NotImplementedError
OSError = 13Constant that represents Python OSError
OverflowError = 14Constant that represents Python OverflowError
RuntimeError = 15Constant that represents Python RuntimeError
SyntaxError = 16Constant that represents Python SyntaxError
SystemError = 17Constant that represents Python SystemError
SystemExit = 18Constant that represents Python SystemExit
TypeError = 19Constant that represents Python TypeError
ValueError = 20Constant that represents Python ValueError
ZeroDivisionError = 21Constant that represents Python ZeroDivisionError
ReferenceError = 22Constant that represents Python ReferenceError