Spaces:
Sleeping
Sleeping
Download app/core/errors.py from Godswill-IoT/ls-engine: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/spaces/Godswill-IoT/ls-engine/resolve/main/app/core/errors.py
- Command line
-
hf download hf://spaces/Godswill-IoT/ls-engine/app/core/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/Godswill-IoT/ls-engine/resolve/main/app/core/errors.py
241 Bytes
| class EngineError(Exception): | |
| def __init__(self, code: str, message: str, details: dict | None = None): | |
| super().__init__(message) | |
| self.code = code | |
| self.message = message | |
| self.details = details or {} | |