Class UnsupportedMode
- Namespace
- Gym.Exceptions
- Assembly
- Gym.dll
A render mode the env does not support was requested.
public class UnsupportedMode : Error, ISerializable
- Inheritance
-
UnsupportedMode
- Implements
- Inherited Members
- Extension Methods
Remarks
Reference: gymnasium/error.py.
Constructors
UnsupportedMode()
An error without a message; its Message is empty, as Python's str(error) is.
public UnsupportedMode()
UnsupportedMode(string)
An error with Gymnasium's message.
public UnsupportedMode(string message)
Parameters
messagestringThe message; Gym's own raise sites pass Gymnasium's text verbatim.
UnsupportedMode(string, Exception)
An error with a message and its cause.
public UnsupportedMode(string message, Exception innerException)