mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-23 22:44:14 +03:00
Remove inaccurate information from the Show instance of ErrorWrapper
This commit is contained in:
parent
253133f7cf
commit
87955a807e
@ -1,5 +1,8 @@
|
||||
# effectful-core-2.3.0.2 (2023-??-??)
|
||||
* Remove inaccurate information from the `Show` instance of `ErrorWrapper`.
|
||||
|
||||
# effectful-core-2.3.0.1 (2023-11-13)
|
||||
* Prevent internal functions from appending calls stack frames to handlers.
|
||||
* Prevent internal functions from appending call stack frames to handlers.
|
||||
|
||||
# effectful-core-2.3.0.0 (2023-09-13)
|
||||
* Deprecate `withConcEffToIO`.
|
||||
|
@ -1,7 +1,7 @@
|
||||
cabal-version: 2.4
|
||||
build-type: Simple
|
||||
name: effectful-core
|
||||
version: 2.3.0.1
|
||||
version: 2.3.0.2
|
||||
license: BSD-3-Clause
|
||||
license-file: LICENSE
|
||||
category: Control
|
||||
|
@ -227,10 +227,6 @@ data ErrorWrapper = ErrorWrapper !ErrorId CallStack Any
|
||||
instance Show ErrorWrapper where
|
||||
showsPrec p (ErrorWrapper _ cs _)
|
||||
= ("Effectful.Error.Static.ErrorWrapper\n\n" ++)
|
||||
. ("If you see this, most likely there is a stray 'Async' action that\n" ++)
|
||||
. ("outlived the scope of the 'Error' effect, was interacted with and threw\n" ++)
|
||||
. ("an error to the parent thread. If that scenario sounds unlikely, please\n" ++)
|
||||
. ("file a ticket at https://github.com/haskell-effectful/effectful/issues.\n\n" ++)
|
||||
. showsPrec p (prettyCallStack cs)
|
||||
instance Exception ErrorWrapper
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user