共用方式為


PipelineChildJobError 類別

不支援管線子作業的例外狀況。

繼承
PipelineChildJobError

建構函式

PipelineChildJobError(job_id: str, command: str = 'parse', prompt_studio_ui: bool = False)

參數

job_id
必要
command
預設值: parse
prompt_studio_ui
預設值: False

方法

add_note

Exception.add_note (附注) – 將附注新增至例外狀況

raise_with_traceback

使用現有的追蹤引發例外狀況。

自 1.22.0 版起已被取代:此方法已被取代,因為我們不再支援 Python 2。 請改用 raise/from。

with_traceback

Exception.with_traceback (tb) – 設定自我設定。追蹤回 tb 並傳回自我。

add_note

Exception.add_note (附注) – 將附注新增至例外狀況

add_note()

raise_with_traceback

使用現有的追蹤引發例外狀況。

自 1.22.0 版起已被取代:此方法已被取代,因為我們不再支援 Python 2。 請改用 raise/from。

raise_with_traceback() -> None

with_traceback

Exception.with_traceback (tb) – 設定自我設定。追蹤回 tb 並傳回自我。

with_traceback()

屬性

args

error_category

傳回錯誤類別。

傳回

錯誤類別。

傳回類型

no_personal_data_message

傳回沒有個人資料的錯誤訊息。

傳回

沒有個人資料錯誤訊息。

傳回類型

str

target

傳回錯誤目標。

傳回

錯誤目標。

傳回類型

ERROR_MESSAGE_TEMPLATE

ERROR_MESSAGE_TEMPLATE = 'az ml job {command} is not supported on pipeline child job, {prompt_message}.'

PROMPT_PARENT_MESSAGE

PROMPT_PARENT_MESSAGE = 'please use this command on pipeline parent job'

PROMPT_STUDIO_UI_MESSAGE

PROMPT_STUDIO_UI_MESSAGE = 'please go to studio UI to do related actions{url}'

continuation_token

continuation_token: str | None

exc_msg

exc_msg: str

exc_traceback

exc_traceback: TracebackType | None

exc_type

exc_type: Type[Any] | None

exc_value

exc_value: BaseException | None

inner_exception

inner_exception: BaseException | None

message

message: str