Skip to main content

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
codeint: The error code. Refer error codes table below.
messageString: The message associated with error code. Refer error codes table below.

Method Summary

Parameters
intgetCode()Returns error code.
StringgetMessage()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.

KeyCodeMessage
SERVICE_URL_NOT_SET800001VCS service URL is not set for environment
INVALID_VC_DATA800002Invalid VC Data