Skip to main content

RemoteExecutionError

from lium.sdk import RemoteExecutionError

Defined in lium.sdk.exceptions.

A function offloaded with @lium.machine did not return a result from the pod.

When the function raised, the caller sees the original exception type and this error is its __cause__; remote_traceback is the traceback from the pod.

RemoteExecutionError(
message: str,
*,
exception_type: str | None = None,
remote_traceback: str = '',
exit_code: int | None = None,
stdout: str = '',
stderr: str = ''
)

Attributes​

NameTypeDescription
exception_type
remote_traceback
exit_code
stdout
stderr