Class RegistrationError
- Namespace
- Gym.Exceptions
- Assembly
- Gym.dll
An invalid registration, such as an unversioned id next to versioned ones.
public class RegistrationError : Error, ISerializable
- Inheritance
-
RegistrationError
- Implements
- Inherited Members
- Extension Methods
Remarks
Reference: gymnasium/error.py.
Constructors
RegistrationError()
An error without a message; its Message is empty, as Python's str(error) is.
public RegistrationError()
RegistrationError(string)
An error with Gymnasium's message.
public RegistrationError(string message)
Parameters
messagestringThe message; Gym's own raise sites pass Gymnasium's text verbatim.
RegistrationError(string, Exception)
An error with a message and its cause.
public RegistrationError(string message, Exception innerException)