Skip to content

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

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

Exceptions

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 there are no agents in the environment.
NoEnvironmentsException()
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.