PipelineChildJobError Class

Exception that the pipeline child job is not supported.

Inheritance
PipelineChildJobError

Constructor

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

Parameters

Name Description
job_id
Required
command
Default value: parse
prompt_studio_ui
Default value: False

Methods

add_note

Exception.add_note(note) – add a note to the exception

raise_with_traceback

Raise the exception with the existing traceback.

Deprecated since version 1.22.0: This method is deprecated as we don't support Python 2 anymore. Use raise/from instead.

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

add_note

Exception.add_note(note) – add a note to the exception

add_note()

raise_with_traceback

Raise the exception with the existing traceback.

Deprecated since version 1.22.0: This method is deprecated as we don't support Python 2 anymore. Use raise/from instead.

raise_with_traceback() -> None

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

with_traceback()

Attributes

args

error_category

Return the error category.

Returns

Type Description

The error category.

no_personal_data_message

Return the error message with no personal data.

Returns

Type Description
str

No personal data error message.

target

Return the error target.

Returns

Type Description

The error 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