LogicalError

public enum LogicalError : Swift.Error

Logical errors occur due to suboptimal integration and are hints to what is being called wrong

SDK

  • One or more dependencies have a wrong version and are not compatible. Workflow is aborted

    Declaration

    Swift

    case dependencyWrongVersion
  • Started SDK without setting a data center

    Declaration

    Swift

    case noDataCenterSet
  • The Jumio DefaultUI framework is not available

    Declaration

    Swift

    case defaultUINotAvailable
  • Started SDK with an empty Token

    Declaration

    Swift

    case tokenValidationFailed
  • Started SDK without setting a data center

    Declaration

    Swift

    case dataCenterValidationFailed

Controller

  • Controller already got cancelled or finished and is not valid anymore

    Declaration

    Swift

    case deadController
  • Trying to call retry on a non retryable error

    Declaration

    Swift

    case errorNotRetryable
  • A policy URL was provided but user has not consented to it. Therefore creation of credentials are blocked

    Declaration

    Swift

    case needToConsentFirst
  • Tried to finish a controller, which still has incomplete credentials

    Declaration

    Swift

    case controllerNotCompleted
  • A finish process is already in progress

    Declaration

    Swift

    case isBeingFinished

Credential

  • There can only be one active credential at a time. Please cancel or finish your current one

    Declaration

    Swift

    case multipleCredentials
  • Provided credential is unknown

    Declaration

    Swift

    case unknownCredential
  • Credential already got cancelled or finished and is not valid anymore

    Declaration

    Swift

    case deadCredential
  • Tried to finish a credential, which still has incomplete scan parts

    Declaration

    Swift

    case credentialNotCompleted
  • Tried to start higher order credential before all lower ones are finished

    Declaration

    Swift

    case pendingLowOrderCredential

ScanPart

  • There can only be one active scan part at a time. Please cancel or finish your current one

    Declaration

    Swift

    case multipleScanParts
  • Provided scan part is unknown

    Declaration

    Swift

    case unknownScanPart
  • Tried to finish a scan part, which still is processing

    Declaration

    Swift

    case scanPartNotCompleted
  • Scan part already got cancelled or finished and is not valid anymore

    Declaration

    Swift

    case deadScanPart
  • Tried to call fallback, but there is non available

    Declaration

    Swift

    case noFallbackAvailable

ScanView

  • Tried to call take picture, but it is not enabled

    Declaration

    Swift

    case takePictureNotAllowed
  • Tried to enable flash, but it is not allowed

    Declaration

    Swift

    case flashEnablingNotAllowed
  • Tried to disabling flash, but it is not allowed

    Declaration

    Swift

    case flashDisablingNotAllowed

CDNModels

  • DocFinder model file that is added to your bundle is corrupted and can not be decrypted

    Declaration

    Swift

    case docFinderModelCorrupted
  • Classifier model file that is added to your bundle is corrupted and can not be decrypted

    Declaration

    Swift

    case classifierModelCorrupted
  • Liveness assets that are added to your bundle are corrupted and can not be decrypted

    Declaration

    Swift

    case livenessAssetsCorrupted