Skip to main content

All Questions

1 vote
2 answers
2k views

Smells in exception handling: how to separate between public and internal exceptions?

During the development of a small web API, we decided to separate internal exceptions from public exceptions. Public exceptions are HTTP exceptions, that translate into HTTP responses with proper ...
Klaus S.'s user avatar
  • 113
2 votes
1 answer
1k views

Central Exception Handler

Recently I've been thinking about a general ExceptionHandler, that I could initialize once in my app context and inject it everywhere. The idea that it will have quite simple interface with just ...
J-unior's user avatar
  • 189