Skip to content

Commit 8a18a54

Browse files
committed
fix(devtool): spelling error in lynx-error(getSubcode->getSubCode)
1 parent 71bb16f commit 8a18a54

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/en/api/errors/lynx-error.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public int getErrorCode()
1414

1515
Return the error code. The error code is a 3 to 4-digit number used to denote the behavior of the error. For example, code 301 indicates a loading error for image. You can refer to documentation [Error Codes](/api/errors/error-code) to learn the specific behavior each error code represents.
1616

17-
#### getSubcode
17+
#### getSubCode
1818

1919
```java
20-
public int getSubcode()
20+
public int getSubCode()
2121
```
2222

2323
Return the error subcode. The error subcode is a 5 to 6-digit number derived from extending the error code by 2 digits. The error subcode is used to indicate the cause of the error. For example, subcode 30101 indicates that the loaded image is too large. You can refer to documentation [Error Codes](/api/errors/error-code) to learn the specific cause each error subcode represents.

docs/zh/api/errors/lynx-error.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ public int getErrorCode()
1313

1414
返回错误码。错误码是一个 3 到 4 位的数字,用于表示错误的行为。例如 301 表示图片加载错误。你可以通过文档[错误码](/api/errors/error-code)来了解每个错误码代表的错误行为。
1515

16-
#### getSubcode
16+
#### getSubCode
1717

1818
```java
19-
public int getSubcode()
19+
public int getSubCode()
2020
```
2121

2222
返回错误子码。错误子码是一个 5 到 6 位的数字,由错误码拓展 2 位而来。错误子码用于表示错误的原因。例如 30101 表示加载的图片过大。你可以通过文档[错误码](/api/errors/error-code)来了解每个错误子码代表的错误原因。

0 commit comments

Comments
 (0)