summaryrefslogtreecommitdiff
path: root/alot/errors.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-25 20:37:24 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-25 20:59:58 +0000
commit748e33bb8e3c7f78820bd7e2f7a874f95693c950 (patch)
tree8b9927142eaf728c94ba92908ecabc044ea0e11a /alot/errors.py
parentd73b6c4ff44c093498e0556da7a9f4097093917b (diff)
move read_config to helper; ConfigError to errors
this refactors settings.py to make it more modular: errors.py will contain all exception classes, read_config is moved to helper to reuse in elsewhere
Diffstat (limited to 'alot/errors.py')
-rw-r--r--alot/errors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/alot/errors.py b/alot/errors.py
new file mode 100644
index 00000000..5409d315
--- /dev/null
+++ b/alot/errors.py
@@ -0,0 +1,4 @@
+
+
+class ConfigError(Exception):
+ pass