Convenient ErrorChain to error conversion
Utilities to add stacktraces to errors.

NOTE:
Missing tests for added code. Tests will be added in a separate change.