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