2 Followers
9 Following
6 Posts
@angelov and the circle closes here :D
@angelov I'm at the SymfonyLive. Nicolas just showed this slide.
@angelov Hey, the first. The Attributes are about adding Http-StatusCode info to your Domain-Exceptions. That would mean UI-layer and business domain layer would get mixed. Business layer should not know about Http.
@angelov Hi Dejan, this post is very well written. I would like to know what you think about using Http-related concepts like the StatusCodes within your domain layer. I like your approach but I'm not sure about mixing.
If an Exception is thrown while services are called via CLI then it would not know about StatusCodes but rather ExitCodes.