Table of Contents

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

message string

The message; Gym's own raise sites pass Gymnasium's text verbatim.

name string

The pending call's name (step, reset, call), Python's name attribute.

Properties

Name

The name of the call that is still pending.

public string Name { get; }

Property Value

string