beedoc
beedoc copied to clipboard
Can you catch all exceptions in your project, including your own manually thrown panic
Rt, anywhere in the project, throws a custom exception by panic, and then processes it through the middleware to give the front end json in a specific format, as if the most common thing in the document is to handle HTTP exception returns or to catch abort