summaryrefslogtreecommitdiffstats
path: root/Include/errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/errors.h')
-rwxr-xr-xInclude/errors.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/Include/errors.h b/Include/errors.h
index e40f6ce..29c23e9 100755
--- a/Include/errors.h
+++ b/Include/errors.h
@@ -41,12 +41,14 @@ extern object *NameError;
extern object *SystemError;
extern object *KeyboardInterrupt;
-/* Some more planned for the future */
-
-#define IndexError RuntimeError
-#define KeyError RuntimeError
-#define ZeroDivisionError RuntimeError
-#define OverflowError RuntimeError
+/* New exceptions */
+extern object *AttributeError;
+extern object *IOError;
+extern object *ZeroDivisionError;
+extern object *IndexError;
+extern object *ValueError;
+extern object *KeyError;
+extern object *OverflowError;
/* Convenience functions */