Skip to content

Exception context

Ben Gamari requested to merge wip/exception-context into master

Implements GHC Proposal #330. Here we introduce the Backtraces type and associated machinery for attaching these via ExceptionContext. These has a few compile-time regressions (T15703 and T9872d) due to the additional dependencies in the exception machinery.

References

To do

  • Fix backtrace formatting
  • Make backtrace annotations capture structured data where possible
  • Rename ?exc_context to ?context
  • Look over exports
  • Introduce throwNoBacktrace and friends
  • Changelog entries
  • Release notes
Edited by Ben Gamari

Merge request reports