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,RuntimeWarningAn env spec is given a namespace via two different means.
- exception cernml.coi.registration.errors.ApiCompatError¶
Bases:
RegistryError,TypeErrorStep API Compatibility wrapper applied to incompatible env.
- exception cernml.coi.registration.errors.DeprecatedEnv¶
Bases:
NotFoundErrorThe env doesn’t use versioning, but user passed a version.
- exception cernml.coi.registration.errors.EntryPointError¶
Bases:
RegistryError,TypeErrorNo entry point found.
- exception cernml.coi.registration.errors.EnvImportError¶
Bases:
RegistryError,ImportErrorCould not import a module required to load an environment.
- exception cernml.coi.registration.errors.EnvOutOfDateWarning¶
Bases:
RegistryWarning,DeprecationWarningAn env has been loaded with a lower version than is available.
- exception cernml.coi.registration.errors.EnvSpecExistsWarning¶
Bases:
RegistryWarning,RuntimeWarningTwo environments are using the same ID string.
- exception cernml.coi.registration.errors.EnvUpgradedWarning¶
Bases:
RegistryWarningAn unversioned env ID has been replaced with its latest version.
- exception cernml.coi.registration.errors.GymDeprecationWarning¶
Bases:
RegistryWarning,DeprecationWarningWarning about feature to be removed in Gymnasium 1.0.
- exception cernml.coi.registration.errors.HumanRenderingError¶
Bases:
RegistryError,TypeErrorThe
HumanRenderingwrapper couldn’t be created.
- exception cernml.coi.registration.errors.HumanRenderingWarning¶
Bases:
RenderModeWarningA missing
humanrendering mode is being adapted via wrapper.
- exception cernml.coi.registration.errors.NameNotFoundError¶
Bases:
NotFoundErrorEnv spec name couldn’t be found.
- exception cernml.coi.registration.errors.NamespaceNotFoundError¶
Bases:
NotFoundErrorEnv spec namespace couldn’t be found.
- exception cernml.coi.registration.errors.NotFoundError¶
Bases:
RegistryErrorEnv spec couldn’t be found.
- exception cernml.coi.registration.errors.PluginWarning¶
Bases:
RegistryWarning,RuntimeWarningA plugin failed to load.
- exception cernml.coi.registration.errors.RegistrationError¶
Bases:
RegistryErrorAn error occurred while registering an env.
- exception cernml.coi.registration.errors.RegistryError¶
Bases:
ExceptionAn error occurred in the
EnvRegistry.
- exception cernml.coi.registration.errors.RegistryWarning¶
Bases:
UserWarningA warning emitted by the
EnvRegistry.
- exception cernml.coi.registration.errors.RenderModeWarning¶
Bases:
RegistryWarningThe user chose an incompatible render mode.
- exception cernml.coi.registration.errors.UnversionedExistsError¶
Bases:
RegistrationErrorTried to register a versioned env where an unversioned exists.
- exception cernml.coi.registration.errors.VersionNotFoundError¶
Bases:
NotFoundErrorEnv spec version couldn’t be found.
- exception cernml.coi.registration.errors.VersionedExistsError¶
Bases:
RegistrationErrorTried to register an unversioned env where a versioned exists.
- exception cernml.coi.registration.errors.WrapperClassError¶
Bases:
WrapperErrorAttempt to load a wrapper that does not support reconstruction.
- exception cernml.coi.registration.errors.WrapperError¶
Bases:
RegistryError,ValueErrorRecreating a wrapper went wrong.
- exception cernml.coi.registration.errors.WrapperMismatchError¶
Bases:
WrapperErrorA specified wrapper differed from its spec.
- exception cernml.coi.registration.errors.WrapperUnexpectedError¶
Bases:
WrapperErrorThe entry point created more wrappers than specified.