Spaces:
Sleeping
Sleeping
File size: 279 Bytes
daa4d56 | 1 2 3 4 5 6 7 8 | class WorkspaceError(Exception):
def __init__(self, status: int, code: str, message: str, details: dict | None = None):
self.status=status
self.code=code
self.message=message
self.details=details or {}
super().__init__(message)
|