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 via MPQRErrorMessageKey

    Declaration

    Swift

    case invalidFormat(message: String)

    Parameters

    message

    Message of the exception. Accessible via MPQRErrorMessageKey

  • Invalid tag value

    Parameter

    Parameter tag: TagInfo. Accessible via MPQRErrorTagInfoKey

    Parameter

    Parameter value: Value. Accessible via MPQRErrorTagValueKey

    Declaration

    Swift

    case invalidTagValue(tag: TagInfo, value: String)

    Parameters

    tag

    TagInfo. Accessible via MPQRErrorTagInfoKey

    value

    Value. Accessible via MPQRErrorTagValueKey

  • Unknown tag

    Parameter

    Parameter tagString: Unknown tag string. Accessible via MPQRErrorTagValueKey

    Declaration

    Swift

    case unknownTag(tagString: String)

    Parameters

    tagString

    Unknown tag string. Accessible via MPQRErrorTagValueKey

  • Missing tag

    Parameter

    Parameter message: message of the exception. Accessible via MPQRErrorMessageKey

    Parameter

    Parameter tags: List of missing tagInfos. Accessible via MPQRErrorTagsKey

    Declaration

    Swift

    case missingTag(message: String?, tags: [TagInfo])

    Parameters

    message

    message of the exception. Accessible via MPQRErrorMessageKey

    tags

    List of missing tagInfos. Accessible via MPQRErrorTagsKey

  • Conflicting tag

    Parameter

    Parameter message: message of the exception. Accessible via MPQRErrorMessageKey

    Parameter

    Parameter tags: List of conflicting tagInfos. Accessible via MPQRErrorTagsKey

    Declaration

    Swift

    case conflictingTag(message: String?, tags: [TagInfo])

    Parameters

    message

    message of the exception. Accessible via MPQRErrorMessageKey

    tags

    List 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