File tree Expand file tree Collapse file tree
docs/content/4.integrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,21 @@ export default defineServerAuth(() => ({
120120}))
121121```
122122
123+ ## Error Codes Reference
124+
125+ | Code | Default Message |
126+ | ------| -----------------|
127+ | ` USER_NOT_FOUND ` | User not found |
128+ | ` INVALID_PASSWORD ` | Invalid password |
129+ | ` INVALID_EMAIL_OR_PASSWORD ` | Invalid email or password |
130+ | ` EMAIL_NOT_VERIFIED ` | Email not verified |
131+ | ` SESSION_EXPIRED ` | Session expired |
132+ | ` INVALID_TOKEN ` | Invalid token |
133+ | ` USER_ALREADY_EXISTS ` | User already exists |
134+ | ` INVALID_EMAIL ` | Invalid email |
135+ | ` PASSWORD_TOO_SHORT ` | Password too short |
136+ | ` RATE_LIMIT_EXCEEDED ` | Too many requests |
137+
123138:: callout { icon =" i-lucide-book " to =" https://www.better-auth.com/docs/concepts/client#error-codes " }
124139See [ Better Auth Error Codes] ( https://www.better-auth.com/docs/concepts/client#error-codes ) for the complete list of error codes.
125140::
You can’t perform that action at this time.
0 commit comments