Table of Contents

Class InvalidBound

Namespace
Gym.Exceptions
Assembly
Gym.dll

Clipping or rescaling with an invalid lower and/or upper bound.

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

Remarks

Reference: gymnasium/error.py.

Constructors

InvalidBound()

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

public InvalidBound()

InvalidBound(string)

An error with Gymnasium's message.

public InvalidBound(string message)

Parameters

message string

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

InvalidBound(string, Exception)

An error with a message and its cause.

public InvalidBound(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The underlying cause.