From f4ebdea2965cfe1d69a1fcfdb75f5df9a8cf31b5 Mon Sep 17 00:00:00 2001 From: liu-ganlin Date: Fri, 25 Nov 2022 11:49:39 +0800 Subject: [PATCH] update errorcode information Signed-off-by: liu-ganlin --- .../reference/apis/js-apis-arraylist.md | 8 ++++---- .../reference/apis/js-apis-lightweightmap.md | 6 +++--- .../reference/apis/js-apis-lightweightset.md | 2 +- .../reference/apis/js-apis-linkedlist.md | 14 +++++++------- .../application-dev/reference/apis/js-apis-list.md | 8 ++++---- .../reference/apis/js-apis-plainarray.md | 6 +++--- .../reference/errorcodes/errorcode-containers.md | 4 ++-- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-arraylist.md b/zh-cn/application-dev/reference/apis/js-apis-arraylist.md index 4512fcac0f..6c3e7763ed 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-arraylist.md +++ b/zh-cn/application-dev/reference/apis/js-apis-arraylist.md @@ -127,7 +127,7 @@ insert(element: T, index: number): void | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The insert method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -316,7 +316,7 @@ removeByIndex(index: number): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeByIndex method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -411,7 +411,7 @@ removeByRange(fromIndex: number, toIndex: number): void | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeByRange method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -616,7 +616,7 @@ subArrayList(fromIndex: number, toIndex: number): ArrayList<T> | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The subArrayList method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md b/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md index 52f81a6da3..709277ac10 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md +++ b/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md @@ -421,7 +421,7 @@ getKeyAt(index: number): K | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The getKeyAt method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -636,7 +636,7 @@ setValueAt(index: number, newValue: V): boolean | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The setValueAt method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -685,7 +685,7 @@ getValueAt(index: number): V | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The getValueAt method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md b/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md index fe447467d4..91a8e23a10 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md +++ b/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md @@ -330,7 +330,7 @@ increaseCapacityTo(minimumCapacity: number): void | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The increaseCapacityTo method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md b/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md index 471698ed66..90d5256fd0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md +++ b/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md @@ -171,7 +171,7 @@ insert(index: number, element: T): void | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The insert method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -402,7 +402,7 @@ removeByIndex(index: number): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeByIndex method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -447,7 +447,7 @@ removeFirst(): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeFirst method cannot be bound. | -| 10200010 | Container is empty. | +| 10200010 | The container is empty. | **示例:** @@ -492,7 +492,7 @@ removeLast(): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeLast method cannot be bound. | -| 10200010 | Container is empty. | +| 10200010 | The container is empty. | **示例:** @@ -587,7 +587,7 @@ removeFirstFound(element: T): boolean | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeFirstFound method cannot be bound. | -| 10200010 | Container is empty. | +| 10200010 | The container is empty. | **示例:** @@ -637,7 +637,7 @@ removeLastFound(element: T): boolean | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeLastFound method cannot be bound. | -| 10200010 | Container is empty. | +| 10200010 | The container is empty. | **示例:** @@ -810,7 +810,7 @@ set(index: number, element: T): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The set method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-list.md b/zh-cn/application-dev/reference/apis/js-apis-list.md index dd72faa764..0328e55bad 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-list.md +++ b/zh-cn/application-dev/reference/apis/js-apis-list.md @@ -126,7 +126,7 @@ insert(element: T, index: number): void | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The insert method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -408,7 +408,7 @@ removeByIndex(index: number): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeByIndex method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -658,7 +658,7 @@ getSubList(fromIndex: number, toIndex: number): List<T> | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The getSubList method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -743,7 +743,7 @@ set(index: number, element: T): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The set method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-plainarray.md b/zh-cn/application-dev/reference/apis/js-apis-plainarray.md index 16bc316475..22b2e5dcdf 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-plainarray.md +++ b/zh-cn/application-dev/reference/apis/js-apis-plainarray.md @@ -337,7 +337,7 @@ getValueAt(index: number): T | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The getValueAt method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -545,7 +545,7 @@ removeRangeFrom(index: number, size: number): number | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The removeRangeFrom method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** @@ -589,7 +589,7 @@ setValueAt(index: number, value: T): void | 错误码ID | 错误信息 | | -------- | -------- | | 10200011 | The setValueAt method cannot be bound. | -| 10200001 | The value of parameters are out of range. | +| 10200001 | The parameter value is out of range. | **示例:** diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-containers.md b/zh-cn/application-dev/reference/errorcodes/errorcode-containers.md index 1b938eb39d..836759dc56 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-containers.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-containers.md @@ -41,7 +41,7 @@ The {methodName} method cannot be bound. **错误信息** -The value of parameters are out of range. +The parameter value is out of range. **错误描述** @@ -59,7 +59,7 @@ The value of parameters are out of range. **错误信息** -Container is empty. +The container is empty. **错误描述** -- GitLab