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

Ensure all backend errors are localized on the frontend #670

Open
DeeTheDev opened this issue Jul 23, 2024 · 0 comments
Open

Ensure all backend errors are localized on the frontend #670

DeeTheDev opened this issue Jul 23, 2024 · 0 comments
Labels
backend Involves changes to the backend API webapp Public frontend changes
Milestone

Comments

@DeeTheDev
Copy link
Collaborator

We need to ensure that backend unlocalized error codes, such as Stripe::ERRORS_FOR_CODES, are localized in the frontend. Can possibly use Suma::Service.localized_error_codes.include?(code) to check if exposed errors are valid (the method checks localized error strings json file)

@DeeTheDev DeeTheDev added backend Involves changes to the backend API webapp Public frontend changes labels Jul 23, 2024
@DeeTheDev DeeTheDev added this to the Purgatory milestone Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Involves changes to the backend API webapp Public frontend changes
Projects
None yet
Development

No branches or pull requests

1 participant