DocumentValidationError

@objc
public enum DocumentValidationError : Int, GiniCaptureError, Equatable

Errors thrown validating a document (image or pdf).

  • Unknown error during review.

    Declaration

    Swift

    case unknown
  • Exceeded max file size

    Declaration

    Swift

    case exceededMaxFileSize
  • Image format not valid

    Declaration

    Swift

    case imageFormatNotValid
  • File format not valid

    Declaration

    Swift

    case fileFormatNotValid
  • PDF length exceeded

    Declaration

    Swift

    case pdfPageLengthExceeded
  • QR Code formar not valid

    Declaration

    Swift

    case qrCodeFormatNotValid
  • Undocumented

    Declaration

    Swift

    public var message: String { get }
  • Declaration

    Swift

    public static func == (lhs: DocumentValidationError, rhs: DocumentValidationError) -> Bool