mirror of
https://github.com/gsi-upm/senpy
synced 2025-12-21 10:58:16 +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