IErrorMessageService
Opened this issue · 0 comments
adamfoneil commented
Create an interface to handle replacement/injection of error messages in controllers. Raw error messages from Save method can be inscrutable to the user, so it would be nice to provide some way to inject better error messages. The issue is that even though some messages are meaningless to the user, they nonetheless contain useful troubleshooting info often. (I'm thinking in particular of deletes blocked by an FK with no cascading. It's nice to know what relationship blocked the delete, but the raw error message is pretty scary to the user.)