error property

ArcGISException? get error

Contains an error if the job fails, otherwise null.

The error is available when the Job.status is JobStatus.failed.