Skip to content

ReaderError_Code

treastrain edited this page May 5, 2021 · 1 revision

ReaderError.Code

public enum Code: Int, CaseIterable 

Inheritance

CaseIterable, Int

Enumeration Cases

readerErrorUnsupportedFeature

The reader session does not support this feature.

case readerErrorUnsupportedFeature = 1

readerErrorSecurityViolation

A security violation associated with the reader session has occurred.

case readerErrorSecurityViolation = 2

readerErrorInvalidParameter

An input parameter is invalid.

case readerErrorInvalidParameter = 3

readerErrorInvalidParameterLength

The length of an input parameter is invalid.

case readerErrorInvalidParameterLength = 4

readerErrorParameterOutOfBound

A parameter value is outside of the acceptable boundary.

case readerErrorParameterOutOfBound = 5

readerErrorRadioDisabled

The NFC wireless radio on the device is disabled.

case readerErrorRadioDisabled = 6

readerTransceiveErrorTagConnectionLost

The reader lost the connection to the tag.

case readerTransceiveErrorTagConnectionLost = 100

readerTransceiveErrorRetryExceeded

Too many retries have occurred.

case readerTransceiveErrorRetryExceeded = 101

readerTransceiveErrorTagResponseError

The tag has responded with an error.

case readerTransceiveErrorTagResponseError = 102

readerTransceiveErrorSessionInvalidated

The reader session is invalid.

case readerTransceiveErrorSessionInvalidated = 103

readerTransceiveErrorTagNotConnected

The tag isn’t in the connected state.

case readerTransceiveErrorTagNotConnected = 104

readerTransceiveErrorPacketTooLong

The packet length exceeds the limit supported by the tag.

case readerTransceiveErrorPacketTooLong = 105

readerSessionInvalidationErrorUserCanceled

The user canceled the reader session.

case readerSessionInvalidationErrorUserCanceled = 200

readerSessionInvalidationErrorSessionTimeout

The reader session timed out.

case readerSessionInvalidationErrorSessionTimeout = 201

readerSessionInvalidationErrorSessionTerminatedUnexpectedly

The reader session terminated unexpectedly.

case readerSessionInvalidationErrorSessionTerminatedUnexpectedly = 202

readerSessionInvalidationErrorSystemIsBusy

The reader session failed because the system is busy.

case readerSessionInvalidationErrorSystemIsBusy = 203

readerSessionInvalidationErrorFirstNDEFTagRead

The first NDEF tag read by this session is invalid.

case readerSessionInvalidationErrorFirstNDEFTagRead = 204

tagCommandConfigurationErrorInvalidParameters

The tag has been configured with invalid parameters.

case tagCommandConfigurationErrorInvalidParameters = 300

ndefReaderSessionErrorTagNotWritable

The NDEF tag isn’t writable.

case ndefReaderSessionErrorTagNotWritable = 400

ndefReaderSessionErrorTagUpdateFailure

The reader session failed to update the NDEF tag.

case ndefReaderSessionErrorTagUpdateFailure = 401

ndefReaderSessionErrorTagSizeTooSmall

The NDEF tag memory size is too small to store the data.

case ndefReaderSessionErrorTagSizeTooSmall = 402

ndefReaderSessionErrorZeroLengthMessage

The NDEF tag doesn’t contain an NDEF message.

case ndefReaderSessionErrorZeroLengthMessage = 403

kitErrorCoreNFCAndNFCKitErrorCodeConversionFailed

case kitErrorCoreNFCAndNFCKitErrorCodeConversionFailed = 999999999
Clone this wiki locally