© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
1 reply
SteveS

How to get better errors?

On line 44 in the image, there is an error where I compared the
userTable
userTable
to the
storedToken
storedToken
instead of the
emailVerificationTokenTable
emailVerificationTokenTable
. Since this would never work, shouldn't the error be more clear? The error it throws says that the column
user.id
user.id
does not exist. Of course, that column does exist, it just doesn't exist on the
emailVerificationTokenTable
emailVerificationTokenTable
. Is there any way to get errors that reflect this kind of mistake?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to properly handle/distinguish between errors
Drizzle TeamDTDrizzle Team / help
2y ago
How do errors work?
Drizzle TeamDTDrizzle Team / help
2y ago
How can I get a better structured response when querying a table (many to many)?
Drizzle TeamDTDrizzle Team / help
2y ago
How to get average of something
Drizzle TeamDTDrizzle Team / help
2y ago