SwiftstructAlarmKit

struct AlarmKit.AuthorizationServiceError

Structure

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

inherits{}

Members 6

  1. varstatic var errorDomain: String { get }
  2. fieldlet code: AlarmKit.AuthorizationServiceError.Code+0x0
  3. fieldlet underlyingError: Error?+0x8
  4. initinit(code: AlarmKit.AuthorizationServiceError.Code, underlyingError: Error?) -> AlarmKit.AuthorizationServiceError
  5. varvar errorCode: Int { get }
  6. varvar errorUserInfo: [String : Any] { get }
struct AuthorizationServiceError {
    enum Code {
        case invalidInput
        case notAllowed
        case configuration
        case connection
        case unsupported
        case unknown
    }
    let code: AlarmKit.AuthorizationServiceError.Code
    let underlyingError: (any Swift.Error)?

    init(code: AlarmKit.AuthorizationServiceError.Code, underlyingError: (any Swift.Error)?)

    var errorCode: Swift.Int {
        get
    }
    var errorUserInfo: [Swift.String : Any] {
        get
    }

    static var errorDomain: Swift.String {
        get
    }
}