Allow loader error to be transformed via handleError #8716
JakeGinnivan
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using Prisma or any other ORM a pattern I use often is
It would be great to be able to do something like this:
Or even return the response. It could also open up the idea of specific Errors which have semantic meaning.
The end plan may be for loader middleware to solve this use case, but thought I'd raise it as a separate idea.
Beta Was this translation helpful? Give feedback.
All reactions