JupyterWebError#
- exception rubin.nublado.client.JupyterWebError(message, *, failed_at=None, started_at=None, method=None, url=None, user=None, status=None, body=None)#
Bases:
NubladoClientSlackWebExceptionAn error occurred when talking to JupyterHub or a Jupyter lab.
- Parameters:
- classmethod raise_from_exception_with_timestamps(exc, user=None, annotations=None, started_at=None, failed_at=None)#
Create an exception from an HTTPX exception and an optional start time.
- Parameters:
exc (
HTTPError) – Exception from HTTPX.user (
str|None, default:None) – User on whose behalf the request is being made, if known.annotations (
dict[str,str] |None, default:None) – Additional annotations for the exception.started_at (
datetime|None, default:None) – When the operation started.failed_at (
datetime|None, default:None) – When the operation failed (defaults to the current time).
- Return type: