Link Details

Link 63675 thumbnail
User 160542 avatar

By kirillcool
via jroller.com
Published: Jan 28 2008 / 17:14

By "useful" I mean that we provide enough information (or context) in the exception message, as a way to help users of our APIs diagnose the cause of the error, instead of just telling the user that something went wrong. In some cases, we might be able to reduce the number and/or length of debugging sessions for our users. I'm not implying that debugging is bad. In fact, I consider debugging as important as testing. My point is, the faster we can find the cause of a problem, the better
  • 11
  • 0
  • 741
  • 275

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.