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/4d0182eb015a8564b0011d3f959d8d223f124e64/envs/errors.py
- Command line
-
hf download hf://spaces/Addyk24/Project-Polymath@4d0182eb015a8564b0011d3f959d8d223f124e64/envs/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/Addyk24/Project-Polymath/resolve/4d0182eb015a8564b0011d3f959d8d223f124e64/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 |