Skip to content

Commit

Permalink
Merge pull request #682 from moony-chen/fix/missing-radio-disabled-error
Browse files Browse the repository at this point in the history
fix: missing-radio-disabled-error
  • Loading branch information
whitedogg13 authored Dec 8, 2023
2 parents 5f48b9c + f5ed768 commit f9a029e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NfcError.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export function buildNfcExceptionIOS(error) {
return new InvalidParameterLength();
} else if (code === NfcErrorIOS.errCodes.parameterOutOfBound) {
return new ParameterOutOfBound();
} else if (code === NfcErrorIOS.errCodes.radioDisabled) {
return new RadioDisabled();
} else if (code === NfcErrorIOS.errCodes.tagConnectionLost) {
return new TagConnectionLost();
} else if (code === NfcErrorIOS.errCodes.retryExceeded) {
Expand Down

0 comments on commit f9a029e

Please sign in to comment.