Skip to main content

All Questions

12 votes
8 answers
2k views

What are good ways of balancing informative exceptions and clean code?

With our public SDK, we tend to want to give very informative messages about why an exception occurs. For example: if (interfaceInstance == null) { string errMsg = string.Format( "...
zastrowm's user avatar
  • 308