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.RuntimeErrorJobFailedWithResultsError
Constructor
JobFailedWithResultsError(message: str, failure_results: Any, *args: object)
Parameters
Name | Description |
---|---|
message
Required
|
Error message. |
failure_results
Required
|
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