Category: Scala
-
Wrapping Exceptions with Context
A good error / exception message should provide enough information to pinpoint a problem. In most modern languages there is a stack trace feature that will show how the program got to the point where it broke. Unfortunately this information is very static in nature; all the dynamic context is lost. To solve this problem…