errorType property

ArcGISExceptionType? errorType

The ArcGIS Runtime type of the exception.

Implementation

ArcGISExceptionType? get errorType {
  try {
    if (_domain == _ArcGISExceptionDomain.arcGISRuntime) {
      return ArcGISExceptionType._fromCoreValue(RT_ErrorType.fromValue(code));
    }
  } catch (_) {
    // do nothing
  }
  return null;
}