docs: add NPM version label to README
This commit is contained in:
parent
da373f0029
commit
d93a83b434
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
# Error Codes
|
# Error Codes
|
||||||
|
[](https://www.npmjs.com/package/@pretendonetwork/error-codes)
|
||||||
|
|
||||||
Translated JSON files for known error codes used by the Wii U and 3DS
|
Translated JSON files for known error codes used by the Wii U and 3DS
|
||||||
|
|
||||||
## Path Structure
|
## Path Structure
|
||||||
|
|
@ -78,4 +80,4 @@ The main purpose of this repository is to maintain the JSON translation files. H
|
||||||
|
|
||||||
- `getModuleInfo(sysmodule, locale)` - Returns the module information for the locale, or `null` if not found
|
- `getModuleInfo(sysmodule, locale)` - Returns the module information for the locale, or `null` if not found
|
||||||
- `getErrorInfo(sysmodule, code, locale)` - Returns the error information (including the module information) for the locale. Returns null if either the module or error code is not found
|
- `getErrorInfo(sysmodule, code, locale)` - Returns the error information (including the module information) for the locale. Returns null if either the module or error code is not found
|
||||||
- `getAllErrors()` - Returns an array of all error codes for all modules in the form `MODULE-CODE`
|
- `getAllErrors()` - Returns an array of all error codes for all modules in the form `MODULE-CODE`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue