mirror of
https://github.com/gsi-upm/senpy
synced 2025-09-18 04:22:21 +00:00
@@ -357,5 +357,8 @@ class Error(SenpyMixin, Exception):
|
||||
def __delattr__(self, key):
|
||||
delattr(self._error, key)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.to_JSON(with_context=False))
|
||||
|
||||
|
||||
register(Error, 'error')
|
||||
|
Reference in New Issue
Block a user