An error type that indicates problems with reader sessions or tags.
SDKs
- iOS 7.0+
- Xcode 9.0+
Framework
- Core NFC
An error type that indicates problems with reader sessions or tags.
SDKs
Framework
var error Code: Int
The error code.
var error User Info: [String : Any]
Additional details about an error.
var localized Description: String
A user-facing, localized string that describes the error.
static var reader Error Unsupported Feature: NFCReader Error .Code
The reader session does not support this feature.
static var reader Session Invalidation Error First NDEFTag Read: NFCReader Error .Code
The first NDEF tag read by this session is invalid.
static var reader Session Invalidation Error Session Terminated Unexpectedly: NFCReader Error .Code
The reader session terminated unexpectedly.
static var reader Session Invalidation Error Session Timeout: NFCReader Error .Code
The reader session timed out.
static var reader Session Invalidation Error System Is Busy: NFCReader Error .Code
The reader session failed because the system is busy.
static var reader Session Invalidation Error User Canceled: NFCReader Error .Code
The user canceled the reader session.
static var reader Transceive Error Retry Exceeded: NFCReader Error .Code
Too many retries have occurred.
static var reader Transceive Error Tag Connection Lost: NFCReader Error .Code
Connection to the tag has been lost.
static var reader Transceive Error Tag Response Error: NFCReader Error .Code
The tag has responded with an error.
static var tag Command Configuration Error Invalid Parameters: NFCReader Error .Code
The tag has been configured with invalid parameters.
static var reader Error Security Violation: NFCReader Error .Code
A security violation associated with the reader session has occurred.
enum NFCReader Error .Code
Reader session and tag error codes.
static var error Domain: String
The error domain for this error.
let NFCError Domain: String
The error domain for errors associated with Core NFC APIs.
static func != (NFCReader Error, NFCReader Error)
Returns a Boolean value indicating whether two values are not equal.