Skip to content
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

Internationalization for errors #108

Open
NickSeagull opened this issue Aug 5, 2024 · 0 comments
Open

Internationalization for errors #108

NickSeagull opened this issue Aug 5, 2024 · 0 comments
Labels
effort: 2 Takes roughly 2 hours (w/ docs+testing) package: core Related to the core libraries type: feature work: obvious Straightforward tasks with known solutions; follow best practices

Comments

@NickSeagull
Copy link
Contributor

NickSeagull commented Aug 5, 2024

Wherever we return errors, instead of retuning a text, we should return a value from a centralized enum of errors that contains at least the error code.

Whenever that error is printed, it is printed either in the user's computer locale, or their configuration, having the latter preference over the former

@NickSeagull NickSeagull added type: feature package: core Related to the core libraries effort: 2 Takes roughly 2 hours (w/ docs+testing) work: obvious Straightforward tasks with known solutions; follow best practices labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: 2 Takes roughly 2 hours (w/ docs+testing) package: core Related to the core libraries type: feature work: obvious Straightforward tasks with known solutions; follow best practices
Projects
None yet
Development

No branches or pull requests

1 participant