SDKErrors
enum SDKErrors : String, Error
Enum that represents the SDK errors.
-
Declaration
Swift
case ERR_LIVENESS_FAILED
-
Declaration
Swift
case ERR_NETWORK_ERROR
-
Declaration
Swift
case ERR_VERIFICATION_FAILED
-
Declaration
Swift
case ERR_LICENSE_EXPIRED
-
Declaration
Swift
case ERR_CANNOT_CONNECT_TO_TIME_SERVER
-
Declaration
Swift
case ERR_CANNOT_CONNECT_TO_HOME_SERVER
-
Declaration
Swift
case ERR_SERVER_IS_UNREACHABLE
-
Declaration
Swift
case ERR_SERVER_URL_INCORRECT
-
Declaration
Swift
case ERR_API_KEY_INCORRECT
-
Declaration
Swift
case ERR_UNKNOWN_ERROR
-
Declaration
Swift
case ERR_NUMBER_OF_AVAILABLE_INSTANCES_EXCEEDED
-
Declaration
Swift
case ERR_PARSE_FAILED
-
Declaration
Swift
case ERR_MULTIPLE_FACES_DETECTED
-
Declaration
Swift
case ERR_NO_FACE_DETECTED
-
Declaration
Swift
case ERR_LIVENESS_QUALITY_FAILED
-
Declaration
Swift
case LICENSE_ERROR
-
Declaration
Swift
case ERR_LIVENESS_IMAGE_VALIDATION_FAILED
-
Declaration
Swift
case ERR_FACE_COMPARE_UNEXPECTED_ERROR
-
Declaration
Swift
case LICENSE_EXPIRED
-
Declaration
Swift
case BUILD_URL_INCORRECT
-
Declaration
Swift
case ERR_INVALID_IMAGE
-
Declaration
Swift
case ERR_LIVENESS_FACE_ANGLE_TOO_LARGE
-
Declaration
Swift
case ERR_LIVENESS_FACE_CLOSE_TO_BORDER
-
Declaration
Swift
case ERR_LIVENESS_FACE_TOO_SMALL
-
Declaration
Swift
case ERR_LIVENESS_EYES_CLOSED
-
Declaration
Swift
case ERR_INVALID_SENSEPRINT_BYTES
-
Declaration
Swift
case ERR_PASSWORD_REQUIRED
-
Declaration
Swift
case ERR_SENSEPRINT_VERIFICATION_QUOTA_EXCEEDED
-
Declaration
Swift
case ERR_SENSEPRINT_GENERATION_QUOTA_EXCEEDED
-
Declaration
Swift
case ERR_SIGNATURE_VERIFICATION_FAILED
-
Declaration
Swift
case ERR_LIVENESS_FACE_IS_OCCLUDED
-
Declaration
Swift
case ERR_TIMEOUT
-
Declaration
Swift
case ERR_QRCREATIONFAILED
-
Declaration
Swift
case ERR_MOTION_TO_FAST
-
Declaration
Swift
case ERR_AUTH_FAILED
-
Declaration
Swift
case ERR_CAPTURE_SESSION_FACE_MATCH
-
Declaration
Swift
case ERR_CAPTURE_SESSION_FACE_LOST
-
Maps the error to the corresponding error type with localized description.
Declaration
Swift
var localizedDescription: ErrorType { get }
-
Maps the SenseCryptSDKError to the corresponding SDK error.
Declaration
Swift
static func fromSenseCryptSDKError(error: SenseCryptSdkError) -> SDKErrors
Parameters
error
The SenseCryptSDKError to map.
Return Value
The corresponding SDK error.