summaryrefslogtreecommitdiff
path: root/src/python/Error.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/Error.py')
-rw-r--r--src/python/Error.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/python/Error.py b/src/python/Error.py
new file mode 100644
index 00000000..912553d1
--- /dev/null
+++ b/src/python/Error.py
@@ -0,0 +1,10 @@
+
+
+class LibicalError(Exception):
+ "Libical Error"
+
+ def __init__(self,str):
+ Exception.__init__(self,str)
+
+ def __str__(self):
+ return Exception.__str__(self)+"\nLibical errno: "+icalerror_perror()