summaryrefslogtreecommitdiff
path: root/opendc/util/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/util/exceptions.py')
-rw-r--r--opendc/util/exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc/util/exceptions.py b/opendc/util/exceptions.py
index e73dad4f..2563c419 100644
--- a/opendc/util/exceptions.py
+++ b/opendc/util/exceptions.py
@@ -57,9 +57,9 @@ class MissingParameterError(ParameterError):
self.parameter_location = parameter_location
-class ClientRequestError(Exception):
+class ClientError(Exception):
"""Raised when a 4xx response is to be returned."""
def __init__(self, response):
- super(ClientRequestError, self).__init__(str(response))
+ super(ClientError, self).__init__(str(response))
self.response = response