Project-Polymath / envs /errors.py
Addyk24's picture
Initialized RL environment
92e2763
raw
history blame contribute delete
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