errorKind property

GlintErrorKind get errorKind

The error kind an agent branches on.

Implementation

GlintErrorKind get errorKind => switch (this) {
      deviceNotFound || wifiOnly || usbmuxd || tunnel => GlintErrorKind.deviceNotConnected,
      developerImage => GlintErrorKind.developerImageMissing,
      deviceBusy => GlintErrorKind.deviceBusy,
      missing || unsupportedText => GlintErrorKind.unsupportedBackendAction,
      stream || input || badRequest => GlintErrorKind.backendToolError,
    };