O'Reilly logo
  • Randy Gill thinks this is interesting:

Consider building a centralized exception reporter

From

Cover of Code Complete, Second Edition

Note

Drawbacks: creates a hard dependency on that ui toolkit, and app may use a different one, or be CLI, or run in background; also complicates testing. If centralized reporting needed, use dependency injection.