I have a library which does processing based on json . And there are multiple scenrios where exceptions could occur. I want to raise an exception or ignore an exception based on the application config .
Basically a caller decides to which type of exceptions he wants to subscribe to.
Are there any design pattern or efficient approach for this problem
I am still trying to think of the best approach
Aucun commentaire:
Enregistrer un commentaire