Exceptions Raised by the Problem Registry¶
These are all exceptions and warnings raised by The Problem Registry.
Inheritance hierarchy of the exceptions. Mix-in standard
library exceptions like TypeError
are not shown.¶
- exception cernml.coi.registration.errors.AmbiguousNamespaceWarning¶
Bases:
RegistryWarning
,RuntimeWarning
An env spec is given a namespace via two different means.
- exception cernml.coi.registration.errors.ApiCompatError¶
Bases:
RegistryError
,TypeError
Step API Compatibility wrapper applied to incompatible env.
- exception cernml.coi.registration.errors.DeprecatedEnv¶
Bases:
NotFoundError
The env doesn’t use versioning, but user passed a version.
- exception cernml.coi.registration.errors.EntryPointError¶
Bases:
RegistryError
,TypeError
No entry point found.
- exception cernml.coi.registration.errors.EnvImportError¶
Bases:
RegistryError
,ImportError
Could not import a module required to load an environment.
- exception cernml.coi.registration.errors.EnvOutOfDateWarning¶
Bases:
RegistryWarning
,DeprecationWarning
An env has been loaded with a lower version than is available.
- exception cernml.coi.registration.errors.EnvSpecExistsWarning¶
Bases:
RegistryWarning
,RuntimeWarning
Two environments are using the same ID string.
- exception cernml.coi.registration.errors.EnvUpgradedWarning¶
Bases:
RegistryWarning
An unversioned env ID has been replaced with its latest version.
- exception cernml.coi.registration.errors.GymDeprecationWarning¶
Bases:
RegistryWarning
,DeprecationWarning
Warning about feature to be removed in Gymnasium 1.0.
- exception cernml.coi.registration.errors.HumanRenderingError¶
Bases:
RegistryError
,TypeError
The
HumanRendering
wrapper couldn’t be created.
- exception cernml.coi.registration.errors.HumanRenderingWarning¶
Bases:
RenderModeWarning
A missing
human
rendering mode is being adapted via wrapper.
- exception cernml.coi.registration.errors.NameNotFoundError¶
Bases:
NotFoundError
Env spec name couldn’t be found.
- exception cernml.coi.registration.errors.NamespaceNotFoundError¶
Bases:
NotFoundError
Env spec namespace couldn’t be found.
- exception cernml.coi.registration.errors.NotFoundError¶
Bases:
RegistryError
Env spec couldn’t be found.
- exception cernml.coi.registration.errors.PluginWarning¶
Bases:
RegistryWarning
,RuntimeWarning
A plugin failed to load.
- exception cernml.coi.registration.errors.RegistrationError¶
Bases:
RegistryError
An error occurred while registering an env.
- exception cernml.coi.registration.errors.RegistryError¶
Bases:
Exception
An error occurred in the
EnvRegistry
.
- exception cernml.coi.registration.errors.RegistryWarning¶
Bases:
UserWarning
A warning emitted by the
EnvRegistry
.
- exception cernml.coi.registration.errors.RenderModeWarning¶
Bases:
RegistryWarning
The user chose an incompatible render mode.
- exception cernml.coi.registration.errors.UnversionedExistsError¶
Bases:
RegistrationError
Tried to register a versioned env where an unversioned exists.
- exception cernml.coi.registration.errors.VersionNotFoundError¶
Bases:
NotFoundError
Env spec version couldn’t be found.
- exception cernml.coi.registration.errors.VersionedExistsError¶
Bases:
RegistrationError
Tried to register an unversioned env where a versioned exists.
- exception cernml.coi.registration.errors.WrapperClassError¶
Bases:
WrapperError
Attempt to load a wrapper that does not support reconstruction.
- exception cernml.coi.registration.errors.WrapperError¶
Bases:
RegistryError
,ValueError
Recreating a wrapper went wrong.
- exception cernml.coi.registration.errors.WrapperMismatchError¶
Bases:
WrapperError
A specified wrapper differed from its spec.
- exception cernml.coi.registration.errors.WrapperUnexpectedError¶
Bases:
WrapperError
The entry point created more wrappers than specified.