Table of Contents

Class NoAsyncCallError

Namespace
Gym.Exceptions
Assembly
Gym.dll

reset_wait or step_wait was called with no matching asynchronous call running.

public class NoAsyncCallError : NotSteppingError, ISerializable
Inheritance
NoAsyncCallError
Implements
Inherited Members
Extension Methods

Remarks

Its base is 0.2's obsolete NotSteppingError (an Exception, not an Error), kept until 2.0 so 0.2's catch (NotSteppingError) still compiles and catches it (DR-58). Reference: gymnasium/error.py.

Constructors

NoAsyncCallError(string, string)

The error with Gymnasium's message and the name of the call that was expected.

public NoAsyncCallError(string message, string name)

Parameters

message string

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

name string

The expected call's name, Python's name attribute.

Properties

Name

The name of the call that was expected to be running.

public string Name { get; }

Property Value

string