-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
approvedApproved by CLC voteApproved by CLC votedormantHibernated by proposer or committeeHibernated by proposer or committee
Description
In ghc-proposals/ghc-proposals#330 we propose a significant number of interface additions to base, as well as changes to a few central abstractions (namely, the Exception class and SomeException type). These are articulated in the "Proposed Change Specification" section of the proposal.
I have broken the GHC Proposal into five subproposals:
- Use
displayExceptioninstead ofshowin top-level exception handler #198 proposes changing the top-level exception handler to usedisplayException - Exception backtrace proposal: Part 1: Annotations #200 describes the general-purpose exception annotation mechanism
- Exception backtrace proposal: Part 2: Backtraces #199 describes how this mechanism is used to capture backtraces
- Exception backtrace proposal: Part 3:
HasCallStackImprovements #201 proposes changes to ensure thatHasCallStackbacktraces are propagated such that they can be attached as context - Exception backtrace proposal: Part 4: Rethrowing #202 describes how exception context is preserved during rethrowing
The operative sections of the GHC proposal are reflected in the following CLC proposals:
| Section | Description | Proposal |
|---|---|---|
| 2.1 | Annotations | part 1 |
| 2.2 | Representing backtraces | part 2 |
| 2.3 | Representing ExceptionContext |
part 1 |
| 2.4 | Attaching context to exceptions | part 1 |
| 2.5 | Providing context to handlers | part 1 |
| 2.6 | Rethrowing | part 4 |
| 2.7 | Capturing backtraces | part 2 |
| 2.8 | HasCallStack improvements |
part 3 |
| 2.9 | Asynchronous exceptions | part 2 |
| 2.10 | Modifying top-level handler | #198 |
| N/A | Collecting nested exceptions and annotations | part 5 |
Metadata
Metadata
Assignees
Labels
approvedApproved by CLC voteApproved by CLC votedormantHibernated by proposer or committeeHibernated by proposer or committee