One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMError

struct · iOS 8.0+ · SDK 27.1

struct HMError

Members (107)

get · iOS 8.0+

errorDomain

TypeScript
static get errorDomain(): string
Swift declaration
static var errorDomain: String { get }

The domain of the error.

get · iOS 8.0+

accessDenied

TypeScript
static get accessDenied(): HMError_Code
Swift declaration
static var accessDenied: HMError.Code { get }
get · iOS 8.0+

deviceLocked

TypeScript
static get deviceLocked(): HMError_Code
Swift declaration
static var deviceLocked: HMError.Code { get }
get · iOS 8.0+

genericError

TypeScript
static get genericError(): HMError_Code
Swift declaration
static var genericError: HMError.Code { get }
get · iOS 8.0+

invalidClass

TypeScript
static get invalidClass(): HMError_Code
Swift declaration
static var invalidClass: HMError.Code { get }
get · iOS 8.0+

nilParameter

TypeScript
static get nilParameter(): HMError_Code
Swift declaration
static var nilParameter: HMError.Code { get }
get · iOS 8.0+

alreadyExists

TypeScript
static get alreadyExists(): HMError_Code
Swift declaration
static var alreadyExists: HMError.Code { get }
get · iOS 8.0+

fireDateInPast

TypeScript
static get fireDateInPast(): HMError_Code
Swift declaration
static var fireDateInPast: HMError.Code { get }
get · iOS 8.0+

accessoryIsBusy

TypeScript
static get accessoryIsBusy(): HMError_Code
Swift declaration
static var accessoryIsBusy: HMError.Code { get }
get · iOS 8.0+

securityFailure

TypeScript
static get securityFailure(): HMError_Code
Swift declaration
static var securityFailure: HMError.Code { get }
get · iOS 11.2+

unexpectedError

TypeScript
static get unexpectedError(): HMError_Code
Swift declaration
static var unexpectedError: HMError.Code { get }
get · iOS 8.0+

dataResetFailure

TypeScript
static get dataResetFailure(): HMError_Code
Swift declaration
static var dataResetFailure: HMError.Code { get }
get · iOS 8.0+

invalidParameter

TypeScript
static get invalidParameter(): HMError_Code
Swift declaration
static var invalidParameter: HMError.Code { get }
get · iOS 8.0+

invalidValueType

TypeScript
static get invalidValueType(): HMError_Code
Swift declaration
static var invalidValueType: HMError.Code { get }
get · iOS 8.0+

missingParameter

TypeScript
static get missingParameter(): HMError_Code
Swift declaration
static var missingParameter: HMError.Code { get }
get · iOS 13.0+

ownershipFailure

TypeScript
static get ownershipFailure(): HMError_Code
Swift declaration
static var ownershipFailure: HMError.Code { get }
get · iOS 8.0+

readWriteFailure

TypeScript
static get readWriteFailure(): HMError_Code
Swift declaration
static var readWriteFailure: HMError.Code { get }
get · iOS 8.0+

operationTimedOut

TypeScript
static get operationTimedOut(): HMError_Code
Swift declaration
static var operationTimedOut: HMError.Code { get }
get · iOS 9.3+

referToUserManual

TypeScript
static get referToUserManual(): HMError_Code
Swift declaration
static var referToUserManual: HMError.Code { get }
get · iOS 8.0+

accessoryIsBlocked

TypeScript
static get accessoryIsBlocked(): HMError_Code
Swift declaration
static var accessoryIsBlocked: HMError.Code { get }
get · iOS 8.0+

addAccessoryFailed

TypeScript
static get addAccessoryFailed(): HMError_Code
Swift declaration
static var addAccessoryFailed: HMError.Code { get }
get · iOS 8.0+

clientRequestError

TypeScript
static get clientRequestError(): HMError_Code
Swift declaration
static var clientRequestError: HMError.Code { get }
get · iOS 8.0+

invalidMessageSize

TypeScript
static get invalidMessageSize(): HMError_Code
Swift declaration
static var invalidMessageSize: HMError.Code { get }
get · iOS 8.0+

missingEntitlement

TypeScript
static get missingEntitlement(): HMError_Code
Swift declaration
static var missingEntitlement: HMError.Code { get }
get · iOS 8.0+

networkUnavailable

TypeScript
static get networkUnavailable(): HMError_Code
Swift declaration
static var networkUnavailable: HMError.Code { get }
get · iOS 8.0+

operationCancelled

TypeScript
static get operationCancelled(): HMError_Code
Swift declaration
static var operationCancelled: HMError.Code { get }
get · iOS 8.0+

recurrenceTooLarge

TypeScript
static get recurrenceTooLarge(): HMError_Code
Swift declaration
static var recurrenceTooLarge: HMError.Code { get }
get · iOS 8.0+

recurrenceTooSmall

TypeScript
static get recurrenceTooSmall(): HMError_Code
Swift declaration
static var recurrenceTooSmall: HMError.Code { get }
get · iOS 8.0+

userDeclinedInvite

TypeScript
static get userDeclinedInvite(): HMError_Code
Swift declaration
static var userDeclinedInvite: HMError.Code { get }
get · iOS 8.0+

accessoryPoweredOff

TypeScript
static get accessoryPoweredOff(): HMError_Code
Swift declaration
static var accessoryPoweredOff: HMError.Code { get }
get · iOS 14.0+

failedToJoinNetwork

TypeScript
static get failedToJoinNetwork(): HMError_Code
Swift declaration
static var failedToJoinNetwork: HMError.Code { get }
get · iOS 18.4+

homeUpgradeRequired

TypeScript
static get homeUpgradeRequired(): HMError_Code
Swift declaration
static var homeUpgradeRequired: HMError.Code { get }
get · iOS 11.0+ · Deprecated in iOS 11.0

incompatibleHomeHub

TypeScript
static get incompatibleHomeHub(): HMError_Code
Swift declaration
static var incompatibleHomeHub: HMError.Code { get }
get · iOS 10.2+

incompatibleNetwork

TypeScript
static get incompatibleNetwork(): HMError_Code
Swift declaration
static var incompatibleNetwork: HMError.Code { get }
get · iOS 11.0+

noCompatibleHomeHub

TypeScript
static get noCompatibleHomeHub(): HMError_Code
Swift declaration
static var noCompatibleHomeHub: HMError.Code { get }
get · iOS 8.0+

notSignedIntoiCloud

TypeScript
static get notSignedIntoiCloud(): HMError_Code
Swift declaration
static var notSignedIntoiCloud: HMError.Code { get }
get · iOS 8.0+

operationInProgress

TypeScript
static get operationInProgress(): HMError_Code
Swift declaration
static var operationInProgress: HMError.Code { get }
get · iOS 15.0+

accessoryIsSuspended

TypeScript
static get accessoryIsSuspended(): HMError_Code
Swift declaration
static var accessoryIsSuspended: HMError.Code { get }
get · iOS 8.0+

communicationFailure

TypeScript
static get communicationFailure(): HMError_Code
Swift declaration
static var communicationFailure: HMError.Code { get }
get · iOS 8.0+

noActionsInActionSet

TypeScript
static get noActionsInActionSet(): HMError_Code
Swift declaration
static var noActionsInActionSet: HMError.Code { get }
get · iOS 8.0+

userManagementFailed

TypeScript
static get userManagementFailed(): HMError_Code
Swift declaration
static var userManagementFailed: HMError.Code { get }
get · iOS 8.0+

accessoryNotReachable

TypeScript
static get accessoryNotReachable(): HMError_Code
Swift declaration
static var accessoryNotReachable: HMError.Code { get }
get · iOS 11.3+

incompatibleAccessory

TypeScript
static get incompatibleAccessory(): HMError_Code
Swift declaration
static var incompatibleAccessory: HMError.Code { get }
get · iOS 8.0+

operationNotSupported

TypeScript
static get operationNotSupported(): HMError_Code
Swift declaration
static var operationNotSupported: HMError.Code { get }
get · iOS 8.0+

renameWithSimilarName

TypeScript
static get renameWithSimilarName(): HMError_Code
Swift declaration
static var renameWithSimilarName: HMError.Code { get }
get · iOS 8.0+

unconfiguredParameter

TypeScript
static get unconfiguredParameter(): HMError_Code
Swift declaration
static var unconfiguredParameter: HMError.Code { get }
get · iOS 8.0+

userIDNotEmailAddress

TypeScript
static get userIDNotEmailAddress(): HMError_Code
Swift declaration
static var userIDNotEmailAddress: HMError.Code { get }
get · iOS 8.0+

valueLowerThanMinimum

TypeScript
static get valueLowerThanMinimum(): HMError_Code
Swift declaration
static var valueLowerThanMinimum: HMError.Code { get }
get · iOS 8.0+

accessoryPairingFailed

TypeScript
static get accessoryPairingFailed(): HMError_Code
Swift declaration
static var accessoryPairingFailed: HMError.Code { get }
get · iOS 8.0+

accessoryResponseError

TypeScript
static get accessoryResponseError(): HMError_Code
Swift declaration
static var accessoryResponseError: HMError.Code { get }
get · iOS 8.0+

insufficientPrivileges

TypeScript
static get insufficientPrivileges(): HMError_Code
Swift declaration
static var insufficientPrivileges: HMError.Code { get }
get · iOS 8.0+

keychainSyncNotEnabled

TypeScript
static get keychainSyncNotEnabled(): HMError_Code
Swift declaration
static var keychainSyncNotEnabled: HMError.Code { get }
get · iOS 8.0+

noRegisteredActionSets

TypeScript
static get noRegisteredActionSets(): HMError_Code
Swift declaration
static var noRegisteredActionSets: HMError.Code { get }
get · iOS 8.0+

readOnlyCharacteristic

TypeScript
static get readOnlyCharacteristic(): HMError_Code
Swift declaration
static var readOnlyCharacteristic: HMError.Code { get }
get · iOS 8.0+

userDeclinedAddingUser

TypeScript
static get userDeclinedAddingUser(): HMError_Code
Swift declaration
static var userDeclinedAddingUser: HMError.Code { get }
get · iOS 8.0+

valueHigherThanMaximum

TypeScript
static get valueHigherThanMaximum(): HMError_Code
Swift declaration
static var valueHigherThanMaximum: HMError.Code { get }
get · iOS 8.0+

accessoryOutOfResources

TypeScript
static get accessoryOutOfResources(): HMError_Code
Swift declaration
static var accessoryOutOfResources: HMError.Code { get }
get · iOS 8.0+

cloudDataSyncInProgress

TypeScript
static get cloudDataSyncInProgress(): HMError_Code
Swift declaration
static var cloudDataSyncInProgress: HMError.Code { get }
get · iOS 8.0+

homeAccessNotAuthorized

TypeScript
static get homeAccessNotAuthorized(): HMError_Code
Swift declaration
static var homeAccessNotAuthorized: HMError.Code { get }
get · iOS 9.0+

locationForHomeDisabled

TypeScript
static get locationForHomeDisabled(): HMError_Code
Swift declaration
static var locationForHomeDisabled: HMError.Code { get }
get · iOS 8.0+

readWritePartialSuccess

TypeScript
static get readWritePartialSuccess(): HMError_Code
Swift declaration
static var readWritePartialSuccess: HMError.Code { get }
get · iOS 8.0+

stringLongerThanMaximum

TypeScript
static get stringLongerThanMaximum(): HMError_Code
Swift declaration
static var stringLongerThanMaximum: HMError.Code { get }
get · iOS 8.0+

writeOnlyCharacteristic

TypeScript
static get writeOnlyCharacteristic(): HMError_Code
Swift declaration
static var writeOnlyCharacteristic: HMError.Code { get }
get · iOS 8.0+

accessoryDiscoveryFailed

TypeScript
static get accessoryDiscoveryFailed(): HMError_Code
Swift declaration
static var accessoryDiscoveryFailed: HMError.Code { get }
get · iOS 8.0+

accessoryOutOfCompliance

TypeScript
static get accessoryOutOfCompliance(): HMError_Code
Swift declaration
static var accessoryOutOfCompliance: HMError.Code { get }
get · iOS 8.0+

actionInAnotherActionSet

TypeScript
static get actionInAnotherActionSet(): HMError_Code
Swift declaration
static var actionInAnotherActionSet: HMError.Code { get }
get · iOS 8.0+

actionSetExecutionFailed

TypeScript
static get actionSetExecutionFailed(): HMError_Code
Swift declaration
static var actionSetExecutionFailed: HMError.Code { get }
get · iOS 8.0+

notificationNotSupported

TypeScript
static get notificationNotSupported(): HMError_Code
Swift declaration
static var notificationNotSupported: HMError.Code { get }
get · iOS 8.0+

stringShorterThanMinimum

TypeScript
static get stringShorterThanMinimum(): HMError_Code
Swift declaration
static var stringShorterThanMinimum: HMError.Code { get }
get · iOS 8.0+

userDeclinedRemovingUser

TypeScript
static get userDeclinedRemovingUser(): HMError_Code
Swift declaration
static var userDeclinedRemovingUser: HMError.Code { get }
get · iOS 8.0+

homeWithSimilarNameExists

TypeScript
static get homeWithSimilarNameExists(): HMError_Code
Swift declaration
static var homeWithSimilarNameExists: HMError.Code { get }
get · iOS 8.0+

maximumObjectLimitReached

TypeScript
static get maximumObjectLimitReached(): HMError_Code
Swift declaration
static var maximumObjectLimitReached: HMError.Code { get }
get · iOS 8.0+

roomForHomeCannotBeInZone

TypeScript
static get roomForHomeCannotBeInZone(): HMError_Code
Swift declaration
static var roomForHomeCannotBeInZone: HMError.Code { get }
get · iOS 8.0+

invalidDataFormatSpecified

TypeScript
static get invalidDataFormatSpecified(): HMError_Code
Swift declaration
static var invalidDataFormatSpecified: HMError.Code { get }
get · iOS 8.0+

notificationAlreadyEnabled

TypeScript
static get notificationAlreadyEnabled(): HMError_Code
Swift declaration
static var notificationAlreadyEnabled: HMError.Code { get }
get · iOS 8.0+

roomForHomeCannotBeUpdated

TypeScript
static get roomForHomeCannotBeUpdated(): HMError_Code
Swift declaration
static var roomForHomeCannotBeUpdated: HMError.Code { get }
get · iOS 8.0+

messageAuthenticationFailed

TypeScript
static get messageAuthenticationFailed(): HMError_Code
Swift declaration
static var messageAuthenticationFailed: HMError.Code { get }
get · iOS 12.0+

objectWithSimilarNameExists

TypeScript
static get objectWithSimilarNameExists(): HMError_Code
Swift declaration
static var objectWithSimilarNameExists: HMError.Code { get }
get · iOS 17.4+

partialCommunicationFailure

TypeScript
static get partialCommunicationFailure(): HMError_Code
Swift declaration
static var partialCommunicationFailure: HMError.Code { get }
get · iOS 14.0+

timedOutWaitingForAccessory

TypeScript
static get timedOutWaitingForAccessory(): HMError_Code
Swift declaration
static var timedOutWaitingForAccessory: HMError.Code { get }
get · iOS 8.0+

accessorySentInvalidResponse

TypeScript
static get accessorySentInvalidResponse(): HMError_Code
Swift declaration
static var accessorySentInvalidResponse: HMError.Code { get }
get · iOS 8.0+

actionSetExecutionInProgress

TypeScript
static get actionSetExecutionInProgress(): HMError_Code
Swift declaration
static var actionSetExecutionInProgress: HMError.Code { get }
get · iOS 10.0+

bridgedAccessoryNotReachable

TypeScript
static get bridgedAccessoryNotReachable(): HMError_Code
Swift declaration
static var bridgedAccessoryNotReachable: HMError.Code { get }
get · iOS 9.0+

cannotRemoveBuiltinActionSet

TypeScript
static get cannotRemoveBuiltinActionSet(): HMError_Code
Swift declaration
static var cannotRemoveBuiltinActionSet: HMError.Code { get }
get · iOS 8.0+

invalidAssociatedServiceType

TypeScript
static get invalidAssociatedServiceType(): HMError_Code
Swift declaration
static var invalidAssociatedServiceType: HMError.Code { get }
get · iOS 8.0+

objectNotAssociatedToAnyHome

TypeScript
static get objectNotAssociatedToAnyHome(): HMError_Code
Swift declaration
static var objectNotAssociatedToAnyHome: HMError.Code { get }
get · iOS 14.0+

accessoryCommunicationFailure

TypeScript
static get accessoryCommunicationFailure(): HMError_Code
Swift declaration
static var accessoryCommunicationFailure: HMError.Code { get }
get · iOS 14.0+

enterpriseNetworkNotSupported

TypeScript
static get enterpriseNetworkNotSupported(): HMError_Code
Swift declaration
static var enterpriseNetworkNotSupported: HMError.Code { get }
get · iOS 8.0+

objectAlreadyAssociatedToHome

TypeScript
static get objectAlreadyAssociatedToHome(): HMError_Code
Swift declaration
static var objectAlreadyAssociatedToHome: HMError.Code { get }
get · iOS 8.0+

objectAssociatedToAnotherHome

TypeScript
static get objectAssociatedToAnotherHome(): HMError_Code
Swift declaration
static var objectAssociatedToAnotherHome: HMError.Code { get }
get · iOS 8.0+

cannotRemoveNonBridgeAccessory

TypeScript
static get cannotRemoveNonBridgeAccessory(): HMError_Code
Swift declaration
static var cannotRemoveNonBridgeAccessory: HMError.Code { get }
get · iOS 13.0+

maximumAccessoriesOfTypeInHome

TypeScript
static get maximumAccessoriesOfTypeInHome(): HMError_Code
Swift declaration
static var maximumAccessoriesOfTypeInHome: HMError.Code { get }
get · iOS 13.0+

wiFiCredentialGenerationFailed

TypeScript
static get wiFiCredentialGenerationFailed(): HMError_Code
Swift declaration
static var wiFiCredentialGenerationFailed: HMError.Code { get }
get · iOS 8.0+

cannotUnblockNonBridgeAccessory

TypeScript
static get cannotUnblockNonBridgeAccessory(): HMError_Code
Swift declaration
static var cannotUnblockNonBridgeAccessory: HMError.Code { get }
get · iOS 8.0+

dateMustBeOnSpecifiedBoundaries

TypeScript
static get dateMustBeOnSpecifiedBoundaries(): HMError_Code
Swift declaration
static var dateMustBeOnSpecifiedBoundaries: HMError.Code { get }
get · iOS 8.0+

actionSetExecutionPartialSuccess

TypeScript
static get actionSetExecutionPartialSuccess(): HMError_Code
Swift declaration
static var actionSetExecutionPartialSuccess: HMError.Code { get }
get · iOS 8.0+

nameContainsProhibitedCharacters

TypeScript
static get nameContainsProhibitedCharacters(): HMError_Code
Swift declaration
static var nameContainsProhibitedCharacters: HMError.Code { get }
get · iOS 9.0+

notAuthorizedForLocationServices

TypeScript
static get notAuthorizedForLocationServices(): HMError_Code
Swift declaration
static var notAuthorizedForLocationServices: HMError.Code { get }
get · iOS 10.0+

notAuthorizedForMicrophoneAccess

TypeScript
static get notAuthorizedForMicrophoneAccess(): HMError_Code
Swift declaration
static var notAuthorizedForMicrophoneAccess: HMError.Code { get }
get · iOS 10.0+

invalidOrMissingAuthorizationData

TypeScript
static get invalidOrMissingAuthorizationData(): HMError_Code
Swift declaration
static var invalidOrMissingAuthorizationData: HMError.Code { get }
get · iOS 8.0+

nameDoesNotEndWithValidCharacters

TypeScript
static get nameDoesNotEndWithValidCharacters(): HMError_Code
Swift declaration
static var nameDoesNotEndWithValidCharacters: HMError.Code { get }
get · iOS 8.0+

objectWithSimilarNameExistsInHome

TypeScript
static get objectWithSimilarNameExistsInHome(): HMError_Code
Swift declaration
static var objectWithSimilarNameExistsInHome: HMError.Code { get }
get · iOS 8.0+

cannotActivateTriggerTooFarInFuture

TypeScript
static get cannotActivateTriggerTooFarInFuture(): HMError_Code
Swift declaration
static var cannotActivateTriggerTooFarInFuture: HMError.Code { get }
get · iOS 8.0+

nameDoesNotStartWithValidCharacters

TypeScript
static get nameDoesNotStartWithValidCharacters(): HMError_Code
Swift declaration
static var nameDoesNotStartWithValidCharacters: HMError.Code { get }
get · iOS 8.0+

recurrenceMustBeOnSpecifiedBoundaries

TypeScript
static get recurrenceMustBeOnSpecifiedBoundaries(): HMError_Code
Swift declaration
static var recurrenceMustBeOnSpecifiedBoundaries: HMError.Code { get }
get · iOS 8.0+

notFound

TypeScript
static get notFound(): HMError_Code
Swift declaration
static var notFound: HMError.Code { get }
get · iOS 11.0+

noHomeHub

TypeScript
static get noHomeHub(): HMError_Code
Swift declaration
static var noHomeHub: HMError.Code { get }

Skipped declarations

No declarations were skipped in this snapshot.

All HomeKit types →