Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Error codes are not strings? - Better Auth
BA
Better Auth
•
11mo ago
•
6 replies
Christian (N0_L0gic)
Error codes are not strings?
I was trying to compare the error code returned from the authClient
, but when I print the value of the enum it just prints Proxy so the switch fails
. See screenshots
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
API Error codes
BA
Better Auth / help
7mo ago
Error generating backup codes
BA
Better Auth / help
11mo ago
Importable Error Codes from Plugins
BA
Better Auth / help
10mo ago
Generating backup codes gives error
BA
Better Auth / help
12mo ago