MPQRErrorCode
enum MPQRErrorCode {}
MPQRError have property errorType, the errorType type is the MPQRErrorCode enum
-
MPQRError errorType is InvalidFormat include the following error:
- Luhn checksum is wrong
- The value of the length of the tag is not numeric
- The length of the value is less than what is specified
Declaration
Objective-C
InvalidFormatSwift
case InvalidFormat = 0 -
MPQRError errorType is InvalidTagValue include the following error:
- The value has different format than it specified
- The value is wrong, i.e. CRC, country
Declaration
Objective-C
InvalidTagValueSwift
case InvalidTagValue = 1 -
MPQRError errorType is UnknownTag when the tag is not defined, i.e. more than 99
Declaration
Objective-C
UnknownTagSwift
case UnknownTag = 2 -
MPQRError errorType is MissingTag when the mandatory tag is not present
Declaration
Objective-C
MissingTagSwift
case MissingTag = 3 -
MPQRError errorType is ConflictingTag include the following error:
- The value of some tag exist when it must not exist
- Setting MAI and Unrestricted Data beyond the defined tag
Declaration
Objective-C
ConflictingTagSwift
case ConflictingTag = 4 -
MPQRError errorType is RFUTag when try to set Reserve for Use tag
Declaration
Objective-C
RFUTagSwift
case RFUTag = 5 -
MPQRError errorType is DuplicateTag when parsing a QR Code and there are two same tag
Declaration
Objective-C
DuplicateTagSwift
case DuplicateTag = 6 -
MPQRError errorType is Limit when try to set MAI data and Unrestricted data more than it is allocated
Declaration
Objective-C
LimitSwift
case Limit = 7
MPQRErrorCode Enumeration Reference