alixi
alixi13mo ago

Is there an idiomatic way for an action

Is there an idiomatic way for an action to return an error to the client?
1 Reply
Indy
Indy13mo ago
There are a few different ways you can return errors from Convex functions. See this doc: https://docs.convex.dev/functions/error-handling/application-errors
Application Errors | Convex Developer Hub
If you have expected ways your functions might fail, you can either return

Did you find this page helpful?