Home
last modified time | relevance | path

Searched refs:createErrorInfo (Results 1 – 20 of 20) sorted by relevance

/interface/sdk-js/build-tools/api_check_plugin/src/
Dcheck_event_subscription.js16 …ErrorLevel, LogType, requireTypescriptModule, checkVersionNeedCheck, createErrorInfo, ErrorValueIn…
25 const checkErrorResult = createErrorInfo(ErrorValueInfo.ERROR_EVENT_ON_AND_OFF_PAIR, []);
32 const checkErrorResult = createErrorInfo(ErrorValueInfo.ERROR_EVENT_ON_AND_OFF_PAIR, []);
52 …const checkErrorResult = createErrorInfo(ErrorValueInfo.ERROR_EVENT_NAME_SMALL_HUMP, [parameterNam…
61 let checkErrorResult = createErrorInfo(ErrorValueInfo.ERROR_EVENT_NAME_STRING, []);
63 checkErrorResult = createErrorInfo(ErrorValueInfo.ERROR_EVENT_NAME_NULL, []);
104 const checkErrorResult = createErrorInfo(ErrorValueInfo.ERROR_EVENT_CALLBACK_OPTIONAL, []);
Dcheck_legality.js18 createErrorInfo, isWhiteListFile } = require('./utils');
181 let errorInfo = createErrorInfo(ErrorValueInfo.ERROR_USE, [tagName]);
183 errorInfo = createErrorInfo(ErrorValueInfo.ERROR_MORELABEL, [parameterNum + 1, tagName]);
210 errorInfo: createErrorInfo(ErrorValueInfo.ERROR_REPEATLABEL, [tagName]),
291 errorInfo = createErrorInfo(ErrorValueInfo.ERROR_LOST_LABEL, [lostLabel]);
Dutils.js383 function createErrorInfo(errorInfo, params) { function
389 exports.createErrorInfo = createErrorInfo;
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/
Dtag_legality_check.ts59 errorInfo: CommonFunctions.createErrorInfo(ErrorMessage.ERROR_USE, [apiTag.tag]),
97 … errorInfo: CommonFunctions.createErrorInfo(ErrorMessage.ERROR_LOST_LABEL, [apiLegalityTag]),
120 errorInfo: CommonFunctions.createErrorInfo(ErrorMessage.ERROR_MORELABEL, [
129 errorInfo: CommonFunctions.createErrorInfo(ErrorMessage.ERROR_LOST_LABEL, ['param']),
Devent_method_check.ts51 …const errorMessage: string = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_EVENT_ON_AND_OFF_P…
86 …const errorMessage: string = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_EVENT_CALLBACK_OPT…
114 …const errorMessage: string = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_EVENT_WITHOUT_PARA…
135 … const errorMessage: string = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_EVENT_NAME_NULL,
152 …const errorMessage: string = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_EVENT_NAME_SMALL_H…
170 … const errorMessage: string = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_EVENT_NAME_STRING,
Dnaming_check.ts60 tagNameCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_NAMING, [
70 … tagNameCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_NAMING, [
93 … tagNameCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_SCENARIO, [
Dforbidden_words_check.ts40 …forbiddenWordsResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ILLEGAL_USE_ANY, [ap…
Dtag_name_check.ts38 …tagNameCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_LABELNAME, [tag.…
Dtag_repeat_check.ts41 … errorInfo: CommonFunctions.createErrorInfo(ErrorMessage.ERROR_REPEATLABEL, [duplicateTag]),
Dcheck_hump.ts120 checkResult = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_UPPERCASE_NAME, [apiName]);
129 … checkResult = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_LARGE_HUMP_NAME, [apiName]);
138 … checkResult = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_SMALL_HUMP_NAME, [apiName]);
Dtag_value_check.ts207 …returnsValueCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_USE, ['retu…
380 …throwsValueCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_INFO_VALUE1_…
385 …throwsValueCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_INFO_VALUE2_…
422 …paramValueCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_INFO_VALUE_PA…
431 CommonFunctions.createErrorInfo(ErrorMessage.ERROR_INFO_TYPE_PARAM, [
Dtag_inherit_check.ts68 …tagNameCheckResult.errorInfo = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_INFO_INHERIT, [c…
Dwords_check.ts87 errorInfo: CommonFunctions.createErrorInfo(ErrorMessage.ERROR_WORD, [basicWord]),
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DmodificationProcessor.ts83 … JSDocModificationManager.createErrorInfo(ErrorInfo.JSDOC_FORMAT_ERROR, []), this.context, apiName,
101 …JSDocModificationManager.createErrorInfo(ErrorInfo.COMPLETE_INHERIT_PERMISSION_TAG_ERROR, [`${jsdo…
106 …JSDocModificationManager.createErrorInfo(ErrorInfo.COMPLETE_INHERIT_TAG_INFORMATION, [`${jsdocNumb…
124 …JSDocModificationManager.createErrorInfo(ErrorInfo.COMPLETE_TAG_INFORMATION, [`${jsdocNumber}`, `$…
137 JSDocModificationManager.createErrorInfo(modifyErrorInfo, insteadInfo),
149 …JSDocModificationManager.createErrorInfo(ErrorInfo.MODIFY_TAG_ORDER_INFORMATION, [`${jsdocNumber}`…
160 …JSDocModificationManager.createErrorInfo(ErrorInfo.JSDOC_ILLEGAL_ERROR + illegalTag.errorInfo, [`$…
323 …JSDocModificationManager.createErrorInfo(ErrorInfo.PARAM_FORAMT_DESCRIPTION_ERROR, [`${curIndex + …
356 static createErrorInfo(errorInfo: string, params: string[]): string { method in JSDocModificationManager
DasynchronousFunctionProcessor.ts49 …const description: string = LogReportStringUtils.createErrorInfo(ErrorInfo.AYYNCHRONOUS_FUNCTION_J…
DapiSplitProcessor.ts88 …const description: string = LogReportStringUtils.createErrorInfo(ErrorInfo.EVENT_SUBSCRIPTION_SPLI…
/interface/sdk-js/build-tools/api_check_plugin/src/check_jsdoc_value/
Dcheck_order.js17 inheritArr, ErrorValueInfo, createErrorInfo, isAscending } = require('../utils');
106 APITagNameResult.errorInfo = createErrorInfo(ErrorValueInfo.ERROR_LABELNAME, [tagName]);
127 inheritResult.errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_INHERIT, [inheritTag]);
Dcheck_rest_value.js18 createErrorInfo, OptionalSymbols, parseJsDoc, getDeclareValue } = require('../../src/utils');
128 … errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_VALUE_PARAM, [tagIndex + 1, tagIndex + 1]);
131 errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_TYPE_PARAM, [tagIndex + 1, tagIndex + 1]);
158 errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_VALUE1_THROWS, [tagIndex + 1]);
166 errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_VALUE2_THROWS, [tagIndex + 1]);
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/utils/
DstringUtils.ts88 static createErrorInfo(errorInfo: string, params: string[]): string { method in LogReportStringUtils
/interface/sdk-js/build-tools/dts_parser/src/utils/
DcheckUtils.ts180 static createErrorInfo(errorInfo: string, params: string[]): string { method in CommonFunctions