Class DeprecatedEnv
- Namespace
- Gym.Exceptions
- Assembly
- Gym.dll
The requested version is older than the latest one of the same name.
public class DeprecatedEnv : Error, ISerializable
- Inheritance
-
DeprecatedEnv
- Implements
- Inherited Members
- Extension Methods
Remarks
Reference: gymnasium/error.py.
Constructors
DeprecatedEnv()
An error without a message; its Message is empty, as Python's str(error) is.
public DeprecatedEnv()
DeprecatedEnv(string)
An error with Gymnasium's message.
public DeprecatedEnv(string message)
Parameters
messagestringThe message; Gym's own raise sites pass Gymnasium's text verbatim.
DeprecatedEnv(string, Exception)
An error with a message and its cause.
public DeprecatedEnv(string message, Exception innerException)