One Logo Pool Ball
ContactProvider · IOS API REFERENCE

ContactProviderError

enum · iOS 18.0+ · SDK 27.1

enum ContactProviderError

Errors thrown by the Contact Provider framework.

Members (4)

get · iOS 18.0+

errorUserInfo

TypeScript
getErrorUserInfo($self: ContactProviderError): Record<string, unknown>
Swift declaration
var errorUserInfo: [String : Any] { get }

The user-info dictionary.

get · iOS 18.0+

failureReason

TypeScript
getFailureReason($self: ContactProviderError): (string) | null
Swift declaration
var failureReason: String? { get }

A localized message describing the reason for the failure.

get · iOS 18.0+

errorDescription

TypeScript
getErrorDescription($self: ContactProviderError): (string) | null
Swift declaration
var errorDescription: String? { get }

A localized message describing what error occurred.

get · iOS 18.0+

errorCode

TypeScript
getErrorCode($self: ContactProviderError): number
Swift declaration
var errorCode: Int { get }

The error code within the given domain.

Skipped declarations

No declarations were skipped in this snapshot.

All ContactProvider types →