aboutsummaryrefslogtreecommitdiff
path: root/management/parsers/abstractparser.py
diff options
context:
space:
mode:
authorAlban Gruin2018-10-09 20:34:46 +0200
committerAlban Gruin2018-10-09 20:34:46 +0200
commitb2bd76229ca012024f6cbea29af25d0ed170d213 (patch)
treeba5a58e6c8779dfa347fd26fe322fb3bc729f746 /management/parsers/abstractparser.py
parentc95740a4d97fc579f4f12a6abf01eac446fde1cc (diff)
parent11f340b4c3adb4200ff41e7e4587392b10b13e47 (diff)
Merge branch 'ag/ups2018-correctifs-apres-tests'
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'management/parsers/abstractparser.py')
-rw-r--r--management/parsers/abstractparser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/management/parsers/abstractparser.py b/management/parsers/abstractparser.py
index 8d55b6d..3164082 100644
--- a/management/parsers/abstractparser.py
+++ b/management/parsers/abstractparser.py
@@ -50,3 +50,8 @@ class AbstractParser(metaclass=abc.ABCMeta):
def get_source(self):
return self._make_request(self.source.url)
+
+
+class ParserError(Exception):
+ def __init__(self, message):
+ super(Exception, self).__init__(message)