mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
DeserializationError: more meaningful message
This commit is contained in:
parent
ca5823ffd8
commit
ceed8a71c1
1 changed files with 4 additions and 0 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue