Modules§
- codes
- Error codes shared with Better Auth’s client, so its
error.codechecks keep working.
Structs§
- Auth
Error - The one error type every endpoint, hook and extractor returns. It leaves the server as
{ "code": "...", "message": "..." }withstatus. - Build
Error - Configuration problems found by
.build(), all reported at once.
Traits§
- Error
Codes - Lets a plugin register its error codes at build time, so two plugins can’t claim one code.