-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.22Implemented in base-4.22 (GHC 9.14)Implemented in base-4.22 (GHC 9.14)
Description
Since #285:
By default,
uncaughtExceptionHandlerusesdisplayExceptionWithInfoto print uncaught exceptions. This default can be overriden withsetUncaughtExceptionHandler, for instance, to present custom error messages on exceptions to the user.
Unfortunately, as an oversight in the proposal, displayExceptionWithInfo is not exported from base.
I propose we export displayExceptionWithInfo from base. It seems natural and useful say, if one wants to override the default but provide displayExceptionWithInfo as a fallback without having to re-implement it.
Tracked upstream as https://gitlab.haskell.org/ghc/ghc/-/issues/26058
TeofilC, mpscholten, noughtmare, velveteer and alt-romes
Metadata
Metadata
Assignees
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.22Implemented in base-4.22 (GHC 9.14)Implemented in base-4.22 (GHC 9.14)