-
Notifications
You must be signed in to change notification settings - Fork 129
Fix spelling error in lynx-error(getSubcode->getSubCode) #439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix spelling error in lynx-error(getSubcode->getSubCode) #439
Conversation
✅ Deploy Preview for lynx-doc ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a spelling inconsistency in API documentation by correcting method names from "getSubcode" to "getSubCode" to follow proper camelCase naming conventions.
- Updates method name from
getSubcodetogetSubCodein both English and Chinese documentation - Adds new Harmony platform documentation section with consistent API naming
- Ensures naming consistency across all platform sections (Android, iOS, and Harmony)
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/zh/api/errors/lynx-error.mdx | Fixes method name spelling and adds Harmony platform documentation in Chinese |
| docs/en/api/errors/lynx-error.mdx | Fixes method name spelling and adds Harmony platform documentation in English |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
docs/en/api/errors/lynx-error.mdx
Outdated
|
|
||
| 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. | ||
|
|
||
| #### getSubcode |
Copilot
AI
Oct 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected method name from 'getSubcode' to 'getSubCode' to match proper camelCase convention.
| #### getSubcode | |
| #### getSubCode |
c90e53c to
8a18a54
Compare
Signed-off-by: benb365 <[email protected]>
No description provided.