    struct HomeError

    extension HomeError : Copyable, CustomNSError, Equatable, Error, Error, Escapable, Hashable, LocalizedError, Sendable, Sendable, SendableMetatype, SendableMetatype

Base type for all errors thrown by the GoogleHomeSDK.
- `


  ### [code](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV4codeAC4CodeOvp)


  ` Undocumented

  #### Declaration

  Swift

      let code: HomeError.https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError/Code.html

- `


  ### [message](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV7messageSSvp)


  ` Undocumented

  #### Declaration

  Swift

      let message: String

- `


  ### [subcodes](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV8subcodesSaySiGvp)


  ` Undocumented

  #### Declaration

  Swift

      let subcodes: [Int]

- `


  ### [subtype](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV7subtypeAC7SubtypeOSgvp)


  ` Undocumented

  #### Declaration

  Swift

      let subtype: HomeError.https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError/Subtype.html?

- `


  ### [errorDescription](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV16errorDescriptionSSSgvp)


  ` A detailed description of the error.

  #### Declaration

  Swift

      var errorDescription: String? { get }

- `


  ### [Code](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError/Code.html)


  ` Error codes thrown by the GoogleHomeSDK.

  Consistent with gRPC status codes: <https://grpc.io/docs/guides/status-codes/>

  #### Declaration

  Swift

      enum Code

      extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError.html.Code : Equatable, Hashable, RawRepresentable, Sendable, SendableMetatype

- `


  ### [Subtype](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError/Subtype.html)


  ` Undocumented

  #### Declaration

  Swift

      enum Subtype

      extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError.html.Subtype : Equatable, Hashable, Sendable, SendableMetatype

- `


  ### [errorDomain](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV11errorDomainSSvpZ)


  ` The domain of the error.

  #### Declaration

  Swift

      static let errorDomain: String

- `


  ### [errorCode](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV9errorCodeSivp)


  ` The error code within the given domain.

  #### Declaration

  Swift

      var errorCode: Int { get }

- `


  ### [errorUserInfo](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV13errorUserInfoSDySSypGvp)


  ` The user-info dictionary.

  #### Declaration

  Swift

      var errorUserInfo: [String : Any] { get }

- `


  ### [cancelled(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV9cancelledyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func cancelled(_ message: String = "") -> HomeError

- `


  ### [unknown(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV7unknownyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func unknown(_ message: String = "") -> HomeError

- `


  ### [invalidArgument(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV15invalidArgumentyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func invalidArgument(_ message: String = "") -> HomeError

- `


  ### [deadlineExceeded(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV16deadlineExceededyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func deadlineExceeded(_ message: String = "") -> HomeError

- `


  ### [notFound(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV8notFoundyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func notFound(_ message: String = "") -> HomeError

- `


  ### [alreadyExists(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV13alreadyExistsyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func alreadyExists(_ message: String = "") -> HomeError

- `


  ### [permissionDenied(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV16permissionDeniedyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func permissionDenied(_ message: String = "") -> HomeError

- `


  ### [resourceExhausted(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV17resourceExhaustedyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func resourceExhausted(_ message: String = "") -> HomeError

- `


  ### [failedPrecondition(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV18failedPreconditionyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func failedPrecondition(_ message: String = "") -> HomeError

- `


  ### [aborted(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV7abortedyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func aborted(_ message: String = "") -> HomeError

- `


  ### [outOfRange(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV10outOfRangeyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func outOfRange(_ message: String = "") -> HomeError

- `


  ### [unimplemented(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV13unimplementedyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func unimplemented(_ message: String = "") -> HomeError

- `


  ### [internal(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV8internalyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func `internal`(_ message: String = "") -> HomeError

- `


  ### [unavailable(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV11unavailableyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func unavailable(_ message: String = "") -> HomeError

- `


  ### [dataLoss(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV8dataLossyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func dataLoss(_ message: String = "") -> HomeError

- `


  ### [unauthenticated(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV15unauthenticatedyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func unauthenticated(_ message: String = "") -> HomeError

- `


  ### [galError(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV03galD0yACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func galError(_ message: String = "") -> HomeError

- `


  ### [commandFailed(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError#/s:13GoogleHomeSDK0B5ErrorV13commandFailedyACSSFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func commandFailed(_ message: String = "") -> HomeError