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