Varun Singh
Varun Singh
CCConvex Community
Created by Varun Singh on 1/13/2024 in #support-community
JSDoc for Convex Functions on Client
No description
10 replies
CCConvex Community
Created by Varun Singh on 12/29/2023 in #support-community
Does ConvexError replace Error?
Normally, when I create REST APIs, I distinguish between errors that are the fault of the user (do not have permission) and those of the developer (500 internal server error, etc.) through the status codes. With Convex, as the documentation says, it is better to throw errors that are then caught directly on the front-end. I am thinking about using ConvexError for developer errors and Error for user errors. Is ConvexError supposed to be used for all errors, or is this up to the developer? Additionally, since these will both be thrown on the frontend, what is the recommended way I distinguish between them in my ErrorBoundary?
6 replies
CCConvex Community
Created by Varun Singh on 12/27/2023 in #support-community
Database Design: Intersection of three fields
No description
29 replies
CCConvex Community
Created by Varun Singh on 12/20/2023 in #support-community
Convex front-end error: Could not find public function
No description
9 replies