diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-03 16:36:37 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-03 16:36:37 +0800 |
commit | cf97ee0abe1790a1d0e767f834df5bcbc60accdb (patch) | |
tree | 372e31cded76a5408de48a82e90cf0babb6161b8 /fg21sim/errors.py | |
parent | 0aac2d9a1f163af4d84c36bd3d19f8df2630fdbd (diff) | |
download | fg21sim-cf97ee0abe1790a1d0e767f834df5bcbc60accdb.tar.bz2 |
Arrange customs errors/exceptions in a module
Diffstat (limited to 'fg21sim/errors.py')
-rw-r--r-- | fg21sim/errors.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fg21sim/errors.py b/fg21sim/errors.py new file mode 100644 index 0000000..6138127 --- /dev/null +++ b/fg21sim/errors.py @@ -0,0 +1,11 @@ +# Copyright (c) 2016 Weitian LI <liweitianux@live.com> +# MIT license + +""" +Custom errors/exceptions. +""" + + +class ConfigError(Exception): + """Could not parse user configurations""" + pass |