Function
Translates a Better Auth refusal into the key of a localized message, so no raw server text ever reaches a learner.
The error the auth client returned
The Account.errors key to show
Account.errors
The rate limiter answers 429 without a code, hence the status check. Any code this map does not know falls back to the generic message.
429
Translates a Better Auth refusal into the key of a localized message, so no raw server text ever reaches a learner.