Spaces:
Sleeping
Sleeping
Download envs/errors.py from Addyk24/Project-Polymath: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/spaces/Addyk24/Project-Polymath/resolve/d99c928fdff70f4faeb46a66ca2d02662bf20504/envs/errors.py
- Command line
-
hf download hf://spaces/Addyk24/Project-Polymath@d99c928fdff70f4faeb46a66ca2d02662bf20504/envs/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/Addyk24/Project-Polymath/resolve/d99c928fdff70f4faeb46a66ca2d02662bf20504/envs/errors.py
326 Bytes
| class EnvError(Exception): | |
| """Base exception for environment errors.""" | |
| pass | |
| class EnvironmentNotResetError(EnvError): | |
| """Raised when stepping an environment before resetting it.""" | |
| pass | |
| class EnvironmentDoneError(EnvError): | |
| """Raised when stepping an environment that has already terminated.""" | |
| pass |