summaryrefslogtreecommitdiff
path: root/libmat/exceptions.py
diff options
context:
space:
mode:
authorjvoisin2014-06-08 13:39:18 +0200
committerjvoisin2014-06-08 13:39:18 +0200
commitaf36529554c39a2eefcc2c8723715e2d25b401b8 (patch)
treef54b964520bab44d1dfac725086211eaf22d3763 /libmat/exceptions.py
parentef5a32cfd3c0555ffe5ddf413eeaae61622ebb4b (diff)
Rename the MAT folder to libmat.
This commit fixes some issues for dump operating systems who doesn't handle capitalization.
Diffstat (limited to 'libmat/exceptions.py')
-rw-r--r--libmat/exceptions.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/libmat/exceptions.py b/libmat/exceptions.py
new file mode 100644
index 0000000..47da15c
--- /dev/null
+++ b/libmat/exceptions.py
@@ -0,0 +1,14 @@
1''' Base exceptions for MAT
2'''
3
4
5class UnableToRemoveFile(Exception):
6 '''This exception is raised when a file could not be removed
7 '''
8 pass
9
10class UnableToWriteFile(Exception):
11 '''This exception is raised when a file
12 can could not be chmod +w
13 '''
14 pass