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:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user