@nauto/errors
v1.0.4
Published
Internationalized error messages for the Nauto ecosystem
Downloads
7
Maintainers
Keywords
Readme
Nauto Error Codes
This project outputs key:value error code mappings as JSON files. In Typescript you can import these files as:
import en from "@nauto/errors/locales/en/translation.json";
import ja from "@nauto/errors/locales/ja/translation.json";
Currently we are not exporting any functionality from this project. It is up to each consuming project to implement their own handling of displaying the mapped error string to the user selected language.
Currently supported languages:
- [x] English
- [x] Japan
Please see ERROR_CODES.md for the mappings of error code to english string.