KSC Open API
Kaspersky Security Center API description
Asynchronous action error format

Corresponding error structure will be as follows:

        +--- (PARAMS_T)
            +---"GNRL_EA_DESCRIPTION" = (STRING_T)
            +---"KLBLAG_ERROR_INFO" (PARAMS_T)
                +---"KLBLAG_ERROR_CODE" = (INT_T)
                +---"KLBLAG_ERROR_FNAME" = (STRING_T)
                +---"KLBLAG_ERROR_LNUMBER" = (INT_T)
                +---"KLBLAG_ERROR_LOCDATA" (PARAMS_T)
                |   +---"KLBLAG_ERROR_FORMAT" = (STRING_T)
                |   +---"KLBLAG_ERROR_FORMATARGS" (ARRAY_T)
                |   +---"KLBLAG_ERROR_FORMATID" = (INT_T)
                |   +---"KLBLAG_ERROR_MODULE" = (STRING_T)
                +---"KLBLAG_ERROR_MODULE" = (STRING_T)
                +---"KLBLAG_ERROR_MSG" = (STRING_T)
                +---"KLBLAG_ERROR_SUBCODE" = (INT_T)
    

Attributes:

Name Type Description

Remarks

"GNRL_EA_DESCRIPTION" paramString Localized error description. Required.
"KLBLAG_ERROR_INFO" paramParams Error settings values. Required.
"KLBLAG_ERROR_CODE" paramInt Error code. Required.
"KLBLAG_ERROR_FNAME" paramString Name of the function that generated the error. Required.
"KLBLAG_ERROR_LNUMBER" paramInt Line number that generated the error. Required.
"KLBLAG_ERROR_LOCDATA" KlAKParams Localization settings values. Optional.
"KLBLAG_ERROR_FORMAT" paramString Localization description. Required.
"KLBLAG_ERROR_FORMATARGS" paramArray Array of localization substitutions strings.Required.
"KLBLAG_ERROR_FORMATID" paramInt Localized error description ID. Required.
"KLBLAG_ERROR_MODULE" paramString Module name that generated the error. Required.
"KLBLAG_ERROR_MSG" paramString Error description. Required.
"KLBLAG_ERROR_SUBCODE" paramInt Error subcode. Required.