JobError

pydantic model safir.uws.JobError

Failure information about a job.

Parameters:

data (Any)

Fields:
field code: Annotated[str, Field(title='Error code', description='Code for this class of error', examples=['ServiceUnavailable'])] [Required]

Code for this class of error

field detail: Annotated[str | None, Field(title='Extended error message', description='Extended error message with additional detail', examples=['Some longer error message with details', None])] = None

Extended error message with additional detail

field message: Annotated[str, Field(title='Error message', description='Brief error messages', examples=['Short error message'])] [Required]

Brief error messages

field type: Annotated[ErrorType, Field(title='Error type', description='Type of the error', examples=[ErrorType.TRANSIENT, ErrorType.FATAL])] [Required]

Type of the error

to_xml_model()

Convert to a Pydantic XML model.

Return type:

ErrorSummary