PCSDKModule Documentation

Enumeration PCError

public enum PCError: Error, Equatable  

Common SDK's error type

PCError PCError Error Error PCError->Error Equatable Equatable PCError->Equatable LocalizedError LocalizedError PCError->LocalizedError

Conforms To

Equatable
Error
LocalizedError

Enumeration Cases

internal​Error

case internalError

empty​Keys

case emptyKeys

empty​Device​Token

case emptyDeviceToken

invalid​Password

case invalidPassword

password​Does​Not​Match​The​Conditions

case passwordDoesNotMatchTheConditions

invalid​Activation​Code

case invalidActivationCode

empty​Password

case emptyPassword

empty​Name

case emptyName

missing​KAuth

case missingKAuth

missing​Interaction​URL

case missingInteractionURL

missing​Transaction​Data

case missingTransactionData

missing​Requested​Data

case missingRequestedData

user​IsNot​Activated

case userIsNotActivated

user​IsNot​Registered

case userIsNotRegistered

user​IsExpired

case userIsExpired

user​Not​Found

case userNotFound

binary​Data​IsUnavaiable

case binaryDataIsUnavaiable

binary​Data​IsRequired

case binaryDataIsRequired

unable​ToStore​Binary​Data

case unableToStoreBinaryData

binary​Data​IsCorrupted

case binaryDataIsCorrupted

endpoint​Unavailable

case endpointUnavailable

api​IsNot​Supported

case apiIsNotSupported

unsupported​Key​Version

case unsupportedKeyVersion

handle​Invalid

case handleInvalid

signing​Error

case signingError

transfer​Storage

case transferStorage

scoring​Unavailable

case scoringUnavailable

autosign​Unavailable

case autosignUnavailable

invalid​JSON

case invalidJSON

invalid​QR

case invalidQR

ext​Auth​Not​Found

case extAuthNotFound

remote​Update​IsDisabled

case remoteUpdateIsDisabled

login​Session​IsExpired

case loginSessionIsExpired

secure​Enclave​Error

case secureEnclaveError(message: String) 

processing​Error

case processingError([String: PCServerError]) 

external​Keys​Processor​IsRequired

case externalKeysProcessorIsRequired

Properties

error​Description

public var errorDescription: String?