File size: 326 Bytes
92e2763
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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