Class ResetNeeded
- Namespace
- Gym.Exceptions
- Assembly
- Gym.dll
step or render was called before the first reset, which
OrderEnforcing<TObs, TAct> enforces.
public class ResetNeeded : Error, ISerializable
- Inheritance
-
ResetNeeded
- Implements
- Inherited Members
- Extension Methods
Remarks
Reference: gymnasium/error.py.
Constructors
ResetNeeded()
An error without a message; its Message is empty, as Python's str(error) is.
public ResetNeeded()
ResetNeeded(string)
An error with Gymnasium's message.
public ResetNeeded(string message)
Parameters
messagestringThe message; Gym's own raise sites pass Gymnasium's text verbatim.
ResetNeeded(string, Exception)
An error with a message and its cause.
public ResetNeeded(string message, Exception innerException)