[GH-ISSUE #715] Feature Request: Error Code List for i18n #17023

Closed
opened 2026-04-15 14:57:55 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @aaronlin0122 on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/715

Is your feature request related to a problem? Please describe.
I’m implementing i18n for error messages, but there isn’t a centralized list of error codes and their default messages.
This makes it challenging to ensure consistency across translations and error handling.

Describe the solution you'd like
I’d like to have a documented list of error codes along with their default messages.
This would make it easier for developers to implement localization and maintain consistent messaging.

Originally created by @aaronlin0122 on GitHub (Dec 2, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/715 **Is your feature request related to a problem? Please describe.** I’m implementing i18n for error messages, but there isn’t a centralized list of error codes and their default messages. This makes it challenging to ensure consistency across translations and error handling. **Describe the solution you'd like** I’d like to have a documented list of error codes along with their default messages. This would make it easier for developers to implement localization and maintain consistent messaging.
GiteaMirror added the locked label 2026-04-15 14:57:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17023