Skip to main content

CaaS

public class CaaS extends Object

↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager

  • Utility class to manage CaaS errors.

Constructor​

public CaaS(int code, String message)

Creates an object of CaaS class.

ParameterDescription
codeint: The error code.
messageString: The message associated with error code.

Method Summary​

TypeMethodDescription
intgetCode()Returns error code.
StringgetMessage()Returns error message.

Method Details​

MethodSignatureDescription
getCodepublic int getCode()Returns error code.
getMessagepublic String getMessage()Returns error message.

Error Codes​

The table below lists the error code and its message.

KeyCodeMessage
GLOBAL_CAAS_URL_NOT_SET110001Global caas URL is not set for environment
DOCU_VERIFY_SERVICE_URL_NOT_SET110002Document verification service URL is not set for environment.
USER_MGMT_SERVICE_URL_NOT_SET110003UserManagement service URL is not set for environment.
AUTH_N_SERVICE_URL_NOT_SET110004AuthN service URL is not set for environment.
WEB_AUTHN_SERVICE_URL_NOT_SET110005WebAuthN service URL is not set for environment.
ADMIN_CONSOLE_URL_NOT_SET110006Admin console URL is not set for global caas.