Download env/errors.py from Anuj2209/openenv-customer-support: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/Anuj2209/openenv-customer-support/resolve/main/env/errors.py
- Command line
-
hf download hf://spaces/Anuj2209/openenv-customer-support/env/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/Anuj2209/openenv-customer-support/resolve/main/env/errors.py
351 Bytes
| """Custom exceptions for the customer support environment.""" | |
| class EnvError(Exception): | |
| """Base exception for all environment errors.""" | |
| class EnvironmentNotResetError(EnvError): | |
| """Raised when step() is called before reset().""" | |
| class EnvironmentDoneError(EnvError): | |
| """Raised when step() is called after the episode has ended.""" | |