Rodrigo Mesquita pushed to branch wip/romes/26058 at Glasgow Haskell Compiler / GHC
Commits:
-
7d6de41d
by Rodrigo Mesquita at 2025-06-17T09:27:40+01:00
2 changed files:
Changes:
| ... | ... | @@ -116,7 +116,9 @@ module Control.Exception |
| 116 | 116 | bracket_,
|
| 117 | 117 | bracketOnError,
|
| 118 | 118 | finally,
|
| 119 | - onException
|
|
| 119 | + onException,
|
|
| 120 | + -- ** Printing
|
|
| 121 | + displayExceptionWithInfo
|
|
| 120 | 122 | |
| 121 | 123 | ) where
|
| 122 | 124 |
| ... | ... | @@ -246,7 +246,7 @@ instance Exception SomeException where |
| 246 | 246 | -- * The exception context
|
| 247 | 247 | --
|
| 248 | 248 | -- By default, 'uncaughtExceptionHandler' uses 'displayExceptionWithInfo' to print uncaught exceptions.
|
| 249 | --- This default can be overriden with 'setUncaughtExceptionHandler', for
|
|
| 249 | +-- This default can be overridden with 'setUncaughtExceptionHandler', for
|
|
| 250 | 250 | -- instance, to present custom error messages on exceptions to the user.
|
| 251 | 251 | --
|
| 252 | 252 | -- @since base-4.21
|