Table of Contents

Class DependencyNotInstalled

Namespace
Gym.Exceptions
Assembly
Gym.dll

An optional dependency an env needs is missing.

public class DependencyNotInstalled : Error, ISerializable
Inheritance
DependencyNotInstalled
Implements
Inherited Members
Extension Methods

Remarks

Reference: gymnasium/error.py.

Constructors

DependencyNotInstalled()

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

public DependencyNotInstalled()

DependencyNotInstalled(string)

An error with Gymnasium's message.

public DependencyNotInstalled(string message)

Parameters

message string

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

DependencyNotInstalled(string, Exception)

An error with a message and its cause.

public DependencyNotInstalled(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The underlying cause.