---
title: NFCReaderError.Code
framework: corenfc
role: symbol
role_heading: Enumeration
path: corenfc/nfcreadererror-swift.struct/code
---

# NFCReaderError.Code

Reader session and tag error codes.

## Declaration

```swift
enum Code
```

## Topics

### Session Errors

- [NFCReaderError.Code.readerSessionInvalidationErrorFirstNDEFTagRead](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorfirstndeftagread.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorSessionTerminatedUnexpectedly](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorsessionterminatedunexpectedly.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorSessionTimeout](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorsessiontimeout.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorSystemIsBusy](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorsystemisbusy.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorUserCanceled](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorusercanceled.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorFirstNDEFTagRead](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorfirstndeftagread.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorSessionTerminatedUnexpectedly](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorsessionterminatedunexpectedly.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorSessionTimeout](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorsessiontimeout.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorSystemIsBusy](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorsystemisbusy.md)
- [NFCReaderError.Code.readerSessionInvalidationErrorUserCanceled](corenfc/nfcreadererror-swift.struct/code/readersessioninvalidationerrorusercanceled.md)

### NDEF Tag Errors

- [NFCReaderError.Code.ndefReaderSessionErrorTagNotWritable](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrortagnotwritable.md)
- [NFCReaderError.Code.ndefReaderSessionErrorTagSizeTooSmall](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrortagsizetoosmall.md)
- [NFCReaderError.Code.ndefReaderSessionErrorTagUpdateFailure](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrortagupdatefailure.md)
- [NFCReaderError.Code.ndefReaderSessionErrorZeroLengthMessage](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrorzerolengthmessage.md)
- [NFCReaderError.Code.ndefReaderSessionErrorTagNotWritable](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrortagnotwritable.md)
- [NFCReaderError.Code.ndefReaderSessionErrorTagSizeTooSmall](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrortagsizetoosmall.md)
- [NFCReaderError.Code.ndefReaderSessionErrorTagUpdateFailure](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrortagupdatefailure.md)
- [NFCReaderError.Code.ndefReaderSessionErrorZeroLengthMessage](corenfc/nfcreadererror-swift.struct/code/ndefreadersessionerrorzerolengthmessage.md)

### Transceive Errors

- [NFCReaderError.Code.readerTransceiveErrorRetryExceeded](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrorretryexceeded.md)
- [NFCReaderError.Code.readerTransceiveErrorTagConnectionLost](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrortagconnectionlost.md)
- [NFCReaderError.Code.readerTransceiveErrorTagNotConnected](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrortagnotconnected.md)
- [NFCReaderError.Code.readerTransceiveErrorTagResponseError](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrortagresponseerror.md)
- [NFCReaderError.Code.readerTransceiveErrorSessionInvalidated](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrorsessioninvalidated.md)
- [NFCReaderError.Code.readerTransceiveErrorPacketTooLong](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrorpackettoolong.md)
- [NFCReaderError.Code.readerTransceiveErrorRetryExceeded](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrorretryexceeded.md)
- [NFCReaderError.Code.readerTransceiveErrorTagConnectionLost](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrortagconnectionlost.md)
- [NFCReaderError.Code.readerTransceiveErrorTagNotConnected](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrortagnotconnected.md)
- [NFCReaderError.Code.readerTransceiveErrorTagResponseError](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrortagresponseerror.md)
- [NFCReaderError.Code.readerTransceiveErrorSessionInvalidated](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrorsessioninvalidated.md)
- [NFCReaderError.Code.readerTransceiveErrorPacketTooLong](corenfc/nfcreadererror-swift.struct/code/readertransceiveerrorpackettoolong.md)

### Tag Command Configuration Error

- [NFCReaderError.Code.tagCommandConfigurationErrorInvalidParameters](corenfc/nfcreadererror-swift.struct/code/tagcommandconfigurationerrorinvalidparameters.md)
- [NFCReaderError.Code.tagCommandConfigurationErrorInvalidParameters](corenfc/nfcreadererror-swift.struct/code/tagcommandconfigurationerrorinvalidparameters.md)

### Other Errors

- [NFCReaderError.Code.readerErrorUnsupportedFeature](corenfc/nfcreadererror-swift.struct/code/readererrorunsupportedfeature.md)
- [NFCReaderError.Code.readerErrorInvalidParameter](corenfc/nfcreadererror-swift.struct/code/readererrorinvalidparameter.md)
- [NFCReaderError.Code.readerErrorInvalidParameterLength](corenfc/nfcreadererror-swift.struct/code/readererrorinvalidparameterlength.md)
- [NFCReaderError.Code.readerErrorParameterOutOfBound](corenfc/nfcreadererror-swift.struct/code/readererrorparameteroutofbound.md)
- [NFCReaderError.Code.readerErrorRadioDisabled](corenfc/nfcreadererror-swift.struct/code/readererrorradiodisabled.md)
- [NFCReaderError.Code.readerErrorSecurityViolation](corenfc/nfcreadererror-swift.struct/code/readererrorsecurityviolation.md)
- [NFCReaderError.Code.readerErrorUnsupportedFeature](corenfc/nfcreadererror-swift.struct/code/readererrorunsupportedfeature.md)
- [NFCReaderError.Code.readerErrorInvalidParameter](corenfc/nfcreadererror-swift.struct/code/readererrorinvalidparameter.md)
- [NFCReaderError.Code.readerErrorInvalidParameterLength](corenfc/nfcreadererror-swift.struct/code/readererrorinvalidparameterlength.md)
- [NFCReaderError.Code.readerErrorParameterOutOfBound](corenfc/nfcreadererror-swift.struct/code/readererrorparameteroutofbound.md)
- [NFCReaderError.Code.readerErrorRadioDisabled](corenfc/nfcreadererror-swift.struct/code/readererrorradiodisabled.md)
- [NFCReaderError.Code.readerErrorSecurityViolation](corenfc/nfcreadererror-swift.struct/code/readererrorsecurityviolation.md)

### Enumeration Cases

- [NFCReaderError.Code.paymentTagReaderSessionErrorLocationAuthorizationDenied](corenfc/nfcreadererror-swift.struct/code/paymenttagreadersessionerrorlocationauthorizationdenied.md)
- [NFCReaderError.Code.paymentTagReaderSessionErrorLocationServiceRestricted](corenfc/nfcreadererror-swift.struct/code/paymenttagreadersessionerrorlocationservicerestricted.md)
- [NFCReaderError.Code.paymentTagReaderSessionErrorOnDeviceLocationUnavailable](corenfc/nfcreadererror-swift.struct/code/paymenttagreadersessionerrorondevicelocationunavailable.md)
- [NFCReaderError.Code.readerErrorAccessNotAccepted](corenfc/nfcreadererror-swift.struct/code/readererroraccessnotaccepted.md)
- [NFCReaderError.Code.readerErrorIneligible](corenfc/nfcreadererror-swift.struct/code/readererrorineligible.md)

### Initializers

- [init(rawValue:)](corenfc/nfcreadererror-swift.struct/code/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Errors

- [NFCReaderError](corenfc/nfcreadererror-swift.struct.md)
- [NFCErrorDomain](corenfc/nfcerrordomain.md)
- [NFCTagResponseUnexpectedLengthErrorKey](corenfc/nfctagresponseunexpectedlengtherrorkey.md)
