1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-23 07:20:55 +03:00

DeserializationError: more meaningful message

This commit is contained in:
Jakub Warmuz
2015-07-31 21:19:07 +00:00
parent ca5823ffd8
commit ceed8a71c1

View File

@@ -8,6 +8,10 @@ class Error(Exception):
class DeserializationError(Error):
"""JSON deserialization error."""
def __str__(self):
return "Deserialization error: {0}".format(
super(DeserializationError, self).__str__())
class SerializationError(Error):
"""JSON serialization error."""