The current code in the controllers is a bit heterogeneous regarding how unhandled exceptions are treated.
This enhancement introduces a generic way to write 'something happened' as a fallback after expected exceptions handling. This way the catch blocks are easier to read, and devs can follow this simple pattern when writing their endpoints.
|