aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/manager.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-03 16:36:37 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-03 16:36:37 +0800
commitcf97ee0abe1790a1d0e767f834df5bcbc60accdb (patch)
tree372e31cded76a5408de48a82e90cf0babb6161b8 /fg21sim/configs/manager.py
parent0aac2d9a1f163af4d84c36bd3d19f8df2630fdbd (diff)
downloadfg21sim-cf97ee0abe1790a1d0e767f834df5bcbc60accdb.tar.bz2
Arrange customs errors/exceptions in a module
Diffstat (limited to 'fg21sim/configs/manager.py')
-rw-r--r--fg21sim/configs/manager.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py
index e274609..81351ad 100644
--- a/fg21sim/configs/manager.py
+++ b/fg21sim/configs/manager.py
@@ -18,10 +18,7 @@ from functools import reduce
from configobj import ConfigObj, ConfigObjError, flatten_errors
from validate import Validator
-
-class ConfigError(Exception):
- """Could not parse user configurations"""
- pass
+from ..errors import ConfigError
CONFIGS_PATH = os.path.dirname(__file__)