struct HomeError
extension HomeError : Copyable, CustomNSError, Equatable, Error, Error, Escapable, Hashable, Sendable, Sendable
Base type for all errors thrown by the GoogleHomeSDK.
-
Undocumented
Declaration
Swift
let code: HomeError.Code
-
Undocumented
Declaration
Swift
let message: String
-
Undocumented
Declaration
Swift
let subtype: HomeError.Subtype?
-
Undocumented
Declaration
Swift
var localizedDescription: String { get }
-
Error codes thrown by the GoogleHomeSDK.
Consistent with gRPC status codes: https://grpc.io/docs/guides/status-codes/
Declaration
-
Undocumented
Declaration
-
The domain of the error.
Declaration
Swift
static let errorDomain: String
-
The error code within the given domain.
Declaration
Swift
var errorCode: Int { get }
-
The user-info dictionary.
Declaration
Swift
var errorUserInfo: [String : Any] { get }
-
Undocumented
Declaration
Swift
static func cancelled(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func invalidArgument(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func deadlineExceeded(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func notFound(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func alreadyExists(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func permissionDenied(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func resourceExhausted(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func failedPrecondition(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func aborted(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func outOfRange(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func unimplemented(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func `internal`(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func unavailable(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func dataLoss(_ message: String = "") -> HomeError
-
Undocumented
Declaration
Swift
static func unauthenticated(_ message: String = "") -> HomeError