API Error codes

Thanks for a great library! I want to display error messages in another language than English and am therefore interested to switch based on the error.body.code. So far I have come across the USER_ALREADY_EXISTS code, but doing this manually is tedious - is there any list or reference for all possible error messages? All I can find is this, which is very sparse: https://www.better-auth.com/docs/concepts/api#error-handling.
Better Auth API.
Was this page helpful?