Table of Contents

Class NamespaceNotFound

Namespace
Gym.Exceptions
Assembly
Gym.dll

The id's namespace (ns/Name-v0) is not registered.

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

Remarks

Reference: gymnasium/error.py.

Constructors

NamespaceNotFound()

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

public NamespaceNotFound()

NamespaceNotFound(string)

An error with Gymnasium's message.

public NamespaceNotFound(string message)

Parameters

message string

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

NamespaceNotFound(string, Exception)

An error with a message and its cause.

public NamespaceNotFound(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The underlying cause.