An error type that indicates problems with the DeviceCheck feature.


struct DCError


Error Information

var errorCode: Int

The error code.

var errorUserInfo: [String : Any]

Additional details about an error.

var localizedDescription: String

A user-facing, localized string that describes the error.

Error Codes

static var featureUnsupported: DCError.Code

DeviceCheck is not available on this device.

static var unknownSystemFailure: DCError.Code

A failure has occurred, such as the failure to generate a token.

enum DCError.Code

DeviceCheck error codes.

Error Domain

let DCErrorDomain: String

The error domain for errors associated with DeviceCheck APIs.

Operator Functions

static func != (DCError, DCError) -> Bool

Returns a Boolean value indicating whether two values are not equal.