Good afternoon, my question is as follows as I am still new to asp.net and on the DDD I still have some doubt that it is in which layer using the DDD standard I would implement the 404 and 500 error handling, if would be in the presentation layer or in the same or any other layer and why it would be implemented in that layer.