beedoc icon indicating copy to clipboard operation
beedoc copied to clipboard

Can you catch all exceptions in your project, including your own manually thrown panic

Open mochouaaaaa opened this issue 4 years ago • 0 comments

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

mochouaaaaa avatar Mar 08 '20 10:03 mochouaaaaa