DSError

@objc
public class DSError : NSObject

An informational error related to the users attempt for a capture.

Discussion: A DSScanError can be return for things that are preventing a good capture. For example if the user is too far away from a document, then an error could be return stating that the user is too far away.

It is up to the application on how it wants to display that information to the user.

  • Provides a enum representation of the possible error responses that can be received by the client calling the SDK

    See more

    Declaration

    Swift

    @objc
    public enum ErrorType : Int
  • The non-translated message for the given capture error

    Declaration

    Swift

    @objc
    public let message: String
  • The static error enum for the given SDK error

    Declaration

    Swift

    @objc
    public let errorType: ErrorType
  • Undocumented

    Declaration

    Swift

    public override var description: String { get }