PythonScript Xojo Plugin |

# PythonErrorTypes Module

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

module PythonErrorTypes

#### Constants

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