Class AlreadyPendingCallError
- Namespace
- Gym.Exceptions
- Assembly
- Gym.dll
An asynchronous reset or step was started while the previous one of the same kind is still pending.
Not an Error, as in Gymnasium.
public class AlreadyPendingCallError : AlreadySteppingError, ISerializable
- Inheritance
-
AlreadyPendingCallError
- Implements
- Inherited Members
- Extension Methods
Remarks
Its base is 0.2's obsolete AlreadySteppingError (an Exception, not an
Error), kept until 2.0 so 0.2's catch (AlreadySteppingError) still compiles and catches it
(DR-58). Reference: gymnasium/error.py.
Constructors
AlreadyPendingCallError(string, string)
The error with Gymnasium's message and the name of the call that is pending.
public AlreadyPendingCallError(string message, string name)
Parameters
messagestringThe message; Gym's own raise sites pass Gymnasium's text verbatim.
namestringThe pending call's name (
step,reset,call), Python'snameattribute.
Properties
Name
The name of the call that is still pending.
public string Name { get; }