Class CustomSpaceError
- Namespace
- Gym.Exceptions
- Assembly
- Gym.dll
A custom space that AsyncVectorEnv with shared memory cannot place in shared memory.
public class CustomSpaceError : Exception, ISerializable
- Inheritance
-
CustomSpaceError
- Implements
- Inherited Members
- Extension Methods
Remarks
Reference: gymnasium/error.py.
Constructors
CustomSpaceError()
An error without a message; its Message is empty, as Python's str(error) is.
public CustomSpaceError()
CustomSpaceError(string)
An error with Gymnasium's message.
public CustomSpaceError(string message)
Parameters
messagestringThe message; Gym's own raise sites pass Gymnasium's text verbatim.
CustomSpaceError(string, Exception)
An error with a message and its cause.
public CustomSpaceError(string message, Exception innerException)