eisk.webapi
eisk.webapi copied to clipboard
implement exception handling filter
The filter should do the following:
- return json formatted response. (reference 1, reference 2)
- (optional) convert the underlying system exception message to a generic user friendly message
- (optional) using .net core build in log class to log the details of the exception.
I would like to take this issue
@CyberZujo thanks for your interest. Please check the updated details of the issue and then proceed to the implementation and make a pull request.
Cheers!
Before implementation, please discuss how you want to implement (with sample code if possible).
Sent the PR with the design and implementation.