Skip to content

core.error_manager

Full path: schola.core.error_manager

schola.core.error_manager

Exceptions for making gRPC errors more interpretable, and a context manager that automatically converts gRPC errors into our custom exceptions.

Classes

ItemDescription
ScholaErrorContextManager()Wrapper for GRPC that redirects any grpc errors to our own more descriptive custom ones.

Exceptions

ItemDescription
EnvironmentException(message)An Exception that occurs when there is a generic issue with an environment wrapping a ScholaEnvironment
MissingMethodError(exception)An Error that occurs when a method is called that doesn’t exist in the Unreal environment.
NoAgentsException(env_id)An Exception that occurs when no environments are detected in Unreal Engine.
NoEnvironmentsException()An Exception that occurs when no environments are detected in Unreal Engine.
NoServerError(exception)An Error that occurs when the server is not detected.
ScholaExceptionBase class for all exceptions in Schola.
UnrealCrashedError(exception)An Error that occurs when Unreal has stopped responding.
WrappedGRPCExceptionBase class for all Schola exceptions that wrap GRPC exceptions, to add more information.