Table of Contents

Class NameNotFound

Namespace
Gym.Exceptions
Assembly
Gym.dll

No env of the id's name exists (in its namespace).

public class NameNotFound : UnregisteredEnv, ISerializable
Inheritance
NameNotFound
Implements
Inherited Members
Extension Methods

Remarks

Reference: gymnasium/error.py.

Constructors

NameNotFound()

An error without a message; its Message is empty, as Python's str(error) is.

public NameNotFound()

NameNotFound(string)

An error with Gymnasium's message.

public NameNotFound(string message)

Parameters

message string

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

NameNotFound(string, Exception)

An error with a message and its cause.

public NameNotFound(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The underlying cause.