from_runtime_error

classmethod StatusError.from_runtime_error(error, status)

Convert a legacy RuntimeError into a status-aware exception.

A plain RuntimeError does not contain enough information to infer a TCIM status. The caller must provide the known status explicitly.