EThreeError
@objc(VTEEThreeError)
public enum EThreeError : Int, LocalizedError
Declares error types and codes for EThree
- verifierInitFailed: Initialization of VirgilCardVerifier failed
- strToDataFailed: String to Data failed
- strFromDataFailed: Data to String failed
- missingPrivateKey: No private key on device. You should call
register()
ofretrievePrivateKey()
- missingPublicKey: Passed empty FindUsersResult
- missingIdentities: Passed empty array of identities to findUsers
- userIsAlreadyRegistered: User is already registered
- userIsNotRegistered: User is not registered
- privateKeyExists: Private key already exists in local key storage
- verificationFailed: Verification of message failed. This may be caused by rotating sender key. Try finding new one
-
Undocumented
Declaration
Swift
case verifierInitFailed = 1
-
Undocumented
Declaration
Swift
case strToDataFailed = 3
-
Undocumented
Declaration
Swift
case strFromDataFailed = 4
-
Undocumented
Declaration
Swift
case missingPrivateKey = 5
-
Undocumented
Declaration
Swift
case missingPublicKey = 6
-
Undocumented
Declaration
Swift
case missingIdentities = 7
-
Undocumented
Declaration
Swift
case userIsAlreadyRegistered = 8
-
Undocumented
Declaration
Swift
case userIsNotRegistered = 9
-
Undocumented
Declaration
Swift
case privateKeyExists = 10
-
Undocumented
Declaration
Swift
case verificationFailed = 12
-
Undocumented
Declaration
Swift
case wrongPassword = 13
-
Human-readable localized description
Declaration
Swift
public var errorDescription: String? { get }