VCs
public class VCs extends Object
↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager
Utility class to manage VCs errors.
Constructor
public VCs(int code, String message)
- Creates an object of VCs class.
Parameters | |
---|---|
code | int: The error code. Refer error codes table below. |
message | String: The message associated with error code. Refer error codes table below. |
Method Summary
Parameters | ||
---|---|---|
int | getCode() | Returns error code. |
String | getMessage() | Returns error message. |
Method Detail
getCode
public int getCode()
- Returns error code.
getMessage
public String getMessage()
- Returns error message.
Error Codes
The below table lists license error codes and messages.
Key | Code | Message |
---|---|---|
SERVICE_URL_NOT_SET | 800001 | VCS service URL is not set for environment |
INVALID_VC_DATA | 800002 | Invalid VC Data |