MPQRError
public enum MPQRError : CustomNSError
MPQR Errors. These errors are thrown while parsing the qr code string.
-
Invalid format
Parameter
Parameter message: Message of the exception. Accessible viaMPQRErrorMessageKeyDeclaration
Swift
case invalidFormat(message: String)Parameters
messageMessage of the exception. Accessible via
MPQRErrorMessageKey
-
Invalid tag value
Parameter
Parameter tag: TagInfo. Accessible viaMPQRErrorTagInfoKeyParameter
Parameter value: Value. Accessible viaMPQRErrorTagValueKeyDeclaration
Swift
case invalidTagValue(tag: TagInfo, value: String)Parameters
tagTagInfo. Accessible via
MPQRErrorTagInfoKeyvalueValue. Accessible via
MPQRErrorTagValueKey
-
Unknown tag
Parameter
Parameter tagString: Unknown tag string. Accessible viaMPQRErrorTagValueKeyDeclaration
Swift
case unknownTag(tagString: String)Parameters
tagStringUnknown tag string. Accessible via
MPQRErrorTagValueKey
-
Missing tag
Parameter
Parameter message: message of the exception. Accessible viaMPQRErrorMessageKeyParameter
Parameter tags: List of missing tagInfos. Accessible viaMPQRErrorTagsKeyDeclaration
Swift
case missingTag(message: String?, tags: [TagInfo])Parameters
messagemessage of the exception. Accessible via
MPQRErrorMessageKeytagsList of missing tagInfos. Accessible via
MPQRErrorTagsKey
-
Conflicting tag
Parameter
Parameter message: message of the exception. Accessible viaMPQRErrorMessageKeyParameter
Parameter tags: List of conflicting tagInfos. Accessible viaMPQRErrorTagsKeyDeclaration
Swift
case conflictingTag(message: String?, tags: [TagInfo])Parameters
messagemessage of the exception. Accessible via
MPQRErrorMessageKeytagsList of conflicting tagInfos. Accessible via
MPQRErrorTagsKey
-
Domain of the error
Declaration
Swift
public static var errorDomain: String -
Error code
Declaration
Swift
public var errorCode: Int -
Error user info
Declaration
Swift
public var errorUserInfo: [String : Any] -
Localized description
Declaration
Swift
public var localizedDescription: String
MPQRError Enum Reference