error property

ArcGISException? error

Contains an error if the job fails, otherwise null.

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

Implementation

ArcGISException? get error {
  final errorHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Job_getError(
      _handle,
      errorHandler,
    );
  });
  return errorHandle.toArcGISException();
}