CodeExecutionError#

exception rubin.nublado.client.CodeExecutionError(*, user, code=None, code_type='code', error=None, status=None, started_at=None, failed_at=None)#

Bases: NubladoClientSlackException

Error generated by code execution in a notebook on JupyterLab.

Parameters:
to_sentry()#

Return an object with tags and contexts to add to Sentry events.

Returns:

Annotated Sentry object.

Return type:

SentryEventInfo

to_slack()#

Format the error as a Slack Block Kit message.

Returns:

Formatted Slack message.

Return type:

SlackMessage