RSPStartupError#

exception nublado.startup.exceptions.RSPStartupError(*args, **kwargs)#

Bases: OSError

RSPStartupError is a subclass of OSError that is designed to be more portable than the standard OSError, since we are throwing it to a client that could, potentially, be running on a different architecture or OS, and whose numeric error codes might therefore not match (e.g. EDQUOT is 69 under MacOS aarch64, but 122 for Linux x64).

This also gives us the opportunity to set the filename parameter to, for instance, indicate a missing environment variable.

Parameters:
classmethod from_os_error(exc)#

Create one of these from an underlying OSError exception.

Parameters:

exc (OSError)

Return type:

Self