An Error carrying a machine-readable errorType, thrown by JobClient.awaitJob when a failed job's AsyncJob.errorType is set. Lets a caller branch on the failure kind (e.g. 'AI_PROVIDER_ERROR') without parsing message.
Error
JobClient.awaitJob
'AI_PROVIDER_ERROR'
message
Optional
The category the failed job's error was tagged with, if any (e.g. 'AI_PROVIDER_ERROR').
An
Errorcarrying a machine-readable errorType, thrown byJobClient.awaitJobwhen a failed job's AsyncJob.errorType is set. Lets a caller branch on the failure kind (e.g.'AI_PROVIDER_ERROR') without parsingmessage.