Previously I was using nest.js in node.js enviornment now testing bun.js and elysia for my new project, elysia is good but when it comes to error handeling elysia don't give any custom http exception
it's similar to nest.js where developer have the ablitiy to throw error message with status code elysia lack that functionality
I know elysia have 3 http exceptions like Internal Server Exception, Conflict and NotFound, but those are not enough, having a custom http exception which give ability to developer to throw error with status code is required.
What is the feature you are proposing to solve the problem?
Developer will have to ability to throw http exception with proper status code.
Required features for headless cms
A proper error status code tells a lot for some front-end network request libraries like axios, also helpful for debugging process
What is the problem this feature would solve?
Previously I was using nest.js in node.js enviornment now testing bun.js and elysia for my new project, elysia is good but when it comes to error handeling elysia don't give any custom http exception
for example here is hono code :-
it's similar to nest.js where developer have the ablitiy to throw error message with status code elysia lack that functionality
I know elysia have 3 http exceptions like Internal Server Exception, Conflict and NotFound, but those are not enough, having a custom http exception which give ability to developer to throw error with status code is required.
What is the feature you are proposing to solve the problem?
Developer will have to ability to throw http exception with proper status code.
Required features for headless cms
A proper error status code tells a lot for some front-end network request libraries like axios, also helpful for debugging process
What alternatives have you considered?
No response