PCSDKModule Documentation

Enumeration PCServer​Error

public enum PCServerError: Int, LocalizedError  

SDK's network error type

PCServerError PCServerError Int Int PCServerError->Int LocalizedError LocalizedError PCServerError->LocalizedError

Conforms To

Int
LocalizedError

Enumeration Cases

undefined

case undefined = -2

server​Does​Not​Respond

case serverDoesNotRespond = -1

java​Internal​Error

case javaInternalError = 100

system​Property​Error

case systemPropertyError = 200

system​IdIsNull

case systemIdIsNull = 201

system​IdIsWrong

case systemIdIsWrong = 202

system​Not​Found

case systemNotFound = 203

system​IsDeleted

case systemIsDeleted = 204

system​Name​IsNull

case systemNameIsNull = 205

user​IdIsNull

case userIdIsNull = 206

user​IdPref​IsNull

case userIdPrefIsNull = 207

user​Not​Found

case userNotFound = 208

user​IsDeleted

case userIsDeleted = 209

ds​Verify​Error

case dsVerifyError = 210

ds​Struct​Error

case dsStructError = 211

store​Type​IsWrong

case storeTypeIsWrong = 212

key​Container​Alias​IsNull

case keyContainerAliasIsNull = 213

key​Container​Not​Exists

case keyContainerNotExists = 214

transaction​Data​Uid​Error

case transactionDataUidError = 215

transaction​Data​Error

case transactionDataError = 216

transaction​Data​IsNull

case transactionDataIsNull = 217

report​Tpl​IsNull

case reportTplIsNull = 218

request​Error

case requestError = 219

system​IdNot​Unique

case systemIdNotUnique = 220

request​Signature​Not​Valid

case requestSignatureNotValid = 221

system​Not​Valid

case systemNotValid = 222

transaction​IsNull

case transactionIsNull = 231

transaction​Checked

case transactionChecked = 232

error​Parse​Register​System​Info

case errorParseRegisterSystemInfo = 233

incorrect​User​Type

case incorrectUserType = 234

collection​IsEmpty

case collectionIsEmpty = 235

no​Result

case noResult = 236

pin​IsEmpty

case pinIsEmpty = 237

fprint​IsEmpty

case fprintIsEmpty = 238

otp​IsNot​Valid

case otpIsNotValid = 239

valid​Date​Expired

case validDateExpired = 240

system​Type​IsWrong

case systemTypeIsWrong = 241

spart​Length​IsWrong

case spartLengthIsWrong = 242

data​Type​IsWrong

case dataTypeIsWrong = 243

invalid​Hmac

case invalidHmac = 244

key​Info​Not​Found

case keyInfoNotFound = 245

wrong​System​Type

case wrongSystemType = 246

fprint​IsNot​Empty

case fprintIsNotEmpty = 247

wrong​Auth​Code

case wrongAuthCode = 248

confirm​Type​IsNull

case confirmTypeIsNull = 249

store​Type​IsNull

case storeTypeIsNull = 250

device​Type​IsNull

case deviceTypeIsNull = 251

transaction​Data​Type​IsNull

case transactionDataTypeIsNull = 252

user​IdPref​Too​Long

case userIdPrefTooLong = 253

confirm​Code​Length​IsWrong

case confirmCodeLengthIsWrong = 254

confirm​Code​IsNull

case confirmCodeIsNull = 255

transaction​IdIsNull

case transactionIdIsNull = 256

status​List​IsEmpty

case statusListIsEmpty = 257

device​IdIsNull

case deviceIdIsNull = 258

device​Type​IsIncorrect

case deviceTypeIsIncorrect = 259

invalid​Otp

case invalidOtp = 261

invalid​Kdf

case invalidKdf = 263

pin​Length​IsWrong

case pinLengthIsWrong = 264

push​IdIsNull

case pushIdIsNull = 265

transaction​Status​Invalid

case transactionStatusInvalid = 267

auth​Code​IsNull

case authCodeIsNull = 268

status​List​IsIncorrect

case statusListIsIncorrect = 269

decline​Reason​IsNull

case declineReasonIsNull = 270

transaction​IsNot​Unique

case transactionIsNotUnique = 271

bill​Date​Corrupted

case billDateCorrupted = 272

user​Bill​Date​Corrupted

case userBillDateCorrupted = 273

transaction​IsDeleted

case transactionIsDeleted = 274

bill​Request​Already​Processed

case billRequestAlreadyProcessed = 275

pubkey​IsEmpty

case pubkeyIsEmpty = 276

pubkey​IsNot​Empty

case pubkeyIsNotEmpty = 277

signature​IsInvalid

case signatureIsInvalid = 278

signature​IsNull

case signatureIsNull = 279

signature​And​Confirm​Code​Are​Null

case signatureAndConfirmCodeAreNull = 280

transaction​Expired

case transactionExpired = 281

json​Scheme​Not​Supported

case jsonSchemeNotSupported = 282

json​Request​Incorrect

case jsonRequestIncorrect = 283

license​Update​Error

case licenseUpdateError = 284

license​Expired

case licenseExpired = 285

license​User​Count​Exceeded

case licenseUserCountExceeded = 286

billing​Type​Corrupted

case billingTypeCorrupted = 287

http​Auth​Code​Invalid

case httpAuthCodeInvalid = 288

not​Supported

case notSupported = 289

ext​Auth​Template​Not​Found

case extAuthTemplateNotFound = 290

ext​Auth​Failed

case extAuthFailed = 291

ext​Auth​Type​Not​Supported

case extAuthTypeNotSupported = 292

ext​Auth​Needed

case extAuthNeeded = 293

user​IsBlocked

case userIsBlocked = 294

key​Expired

case keyExpired = 295

license​Not​Found

case licenseNotFound = 296

push​Not​Found

case pushNotFound = 297

scoring​Settings​IsNull

case scoringSettingsIsNull = 298

autosing​Signature​IsInvalid

case autosingSignatureIsInvalid = 299

server​Scoring​Settings​Incorrect

case serverScoringSettingsIncorrect = 300

scoring​Failed

case scoringFailed = 301

high​Scoring​Risk​Level

case highScoringRiskLevel = 302

autosign​Failed

case autosignFailed = 304

autosign​Not​Allowed

case autosignNotAllowed = 305

attempt​IdIsNull

case attemptIdIsNull = 306

flexible​License​Error

case flexibleLicenseError = 307

unsupported​Billing​Type

case unsupportedBillingType = 308

license​Error

case licenseError = 309

operation​Not​Exists

case operationNotExists = 310

transaction​IsNot​InOperation

case transactionIsNotInOperation = 311

operation​Status​Invalid

case operationStatusInvalid = 312

create​Operation​Error

case createOperationError = 313

remote​Update​Error

case remoteUpdateError = 314

remote​Update​Error​Block

case remoteUpdateErrorBlock = 315

remote​Update​Disabled

case remoteUpdateDisabled = 316

operation​Expired

case operationExpired = 317

dn​IsNull

case dnIsNull = 318

cert​Request​Params​IsNull

case certRequestParamsIsNull = 319

cert​Issue​Error

case certIssueError = 320

no​Cert​Request

case noCertRequest = 321

no​Cert

case noCert = 322

no​Pki​Settings​Defined

case noPkiSettingsDefined = 323

can​Not​Use​Certificate​Chain

case canNotUseCertificateChain = 324

cert​Status​Invalid

case certStatusInvalid = 325

cert​Revoke​Error

case certRevokeError = 326

key​Index​Obsoleted

case keyIndexObsoleted = 336

key​Index​Wrong

case keyIndexWrong = 337

device​Fingerprint​Mismatch

case deviceFingerprintMismatch = 338

Properties

error​Code

public var errorCode: Int  

error​Description

public var errorDescription: String?