8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a218032 commit 45f098bCopy full SHA for 45f098b
stdnum/exceptions.py
@@ -1,7 +1,7 @@
1
# exceptions.py - collection of stdnum exceptions
2
# coding: utf-8
3
#
4
-# Copyright (C) 2013 Arthur de Jong
+# Copyright (C) 2013-2022 Arthur de Jong
5
6
# This library is free software; you can redistribute it and/or
7
# modify it under the terms of the GNU Lesser General Public
@@ -29,7 +29,7 @@
29
'InvalidLength', 'InvalidComponent']
30
31
32
-class ValidationError(Exception):
+class ValidationError(ValueError):
33
"""Top-level error for validating numbers.
34
35
This exception should normally not be raised, only subclasses of this
0 commit comments