JobFailedWithResultsError Class

Error produced when Job completes with status "Failed" and the Job supports producing failure results.

The failure results can be accessed with get_failure_results() method.

Initializes error produced when Job completes with status "Failed" and the Job supports producing failure results.

Inheritance
builtins.RuntimeError
JobFailedWithResultsError

Constructor

JobFailedWithResultsError(message: str, failure_results: Any, *args: object)

Parameters

Name Description
message
Required
str

Error message.

failure_results
Required
Any

Failure results produced by the job.

Methods

get_failure_results

Get failure results produced by the job.

get_message

Get error message.

get_failure_results

Get failure results produced by the job.

get_failure_results() -> Dict[str, Any] | str

get_message

Get error message.

get_message() -> str