Dela via


Making exception messages meaningful

Now that’s a great exception message. I think we all can take a clue from the Castle team when it comes to making exceptions meaningful. Instead of next time effectively saying "something went wrong" with our exceptions, really spell out exactly why it went bad and if possible, how to correct it.

 

Big ups to the Castle team. Once again, they prove to be developer's developers. :)