I'm working on a web application that uses a multi layer architecture (similar to Uncle Bob's clean architecture) and would like to know of some material (book, post, article, talk) about error standardization and mapping between the layers. Something about how to separate the error classes between the modules of each layer, how to map an error class from a layer to the other (like handling an error thrown from the interactor layer and map it to a JSON response on the infrastructure layer).
Aucun commentaire:
Enregistrer un commentaire