SwiftenumAppIntentsServices

enum AppIntentsServices.IntentsServices.Errors

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 14

  1. varstatic var errorDomain: String { get }
  2. casecase invalidFormat(String)
  3. casecase invalidPersona(String)
  4. casecase invalidRequest(String)
  5. casecase invalidState(String)
  6. casecase missingEntitlement([String])
  7. casecase nonDecodableError(NSError)
  8. casecase notImplemented(String)
  9. casecase notSupported(String)
  10. casecase unsupportedPlatform(String)
  11. varvar errorCode: Int { get }
  12. varvar errorDescription: String? { get }
  13. varvar errorUserInfo: [String : Any] { get }
  14. varvar underlyingError: NSError? { get }
enum AppIntentsServices.IntentsServices.Errors {
    enum Code {
        case invalidFormat
        case invalidPersona
        case invalidRequest
        case invalidState
        case missingEntitlement
        case notImplemented
        case notSupported
        case nonDecodableError
        case unsupportedPlatform
    }
    case invalidFormat(Swift.String)
    case invalidPersona(Swift.String)
    case invalidRequest(Swift.String)
    case invalidState(Swift.String)
    case missingEntitlement([Swift.String])
    case notImplemented(Swift.String)
    case notSupported(Swift.String)
    case nonDecodableError(__C.NSError)
    case unsupportedPlatform(Swift.String)

    var errorCode: Swift.Int {
        get
    }
    var errorDescription: Swift.String? {
        get
    }
    var errorUserInfo: [Swift.String : Any] {
        get
    }
    var underlyingError: __C.NSError? {
        get
    }

    static var errorDomain: Swift.String {
        get
    }
}