Skip to content

Commit

Permalink
Cardano.Prelude.Panic: Remove deriving Typeable
Browse files Browse the repository at this point in the history
This is now an error in GHC 9.12
  • Loading branch information
locallycompact committed Nov 2, 2024
1 parent cfb3e07 commit 55b1b00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cardano-prelude/src/Cardano/Prelude/Panic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ module Cardano.Prelude.Panic (

import Control.Exception (Exception, throw)
import Data.Text (Text)
import Data.Typeable (Typeable)
import GHC.Stack (HasCallStack)

-- | Uncatchable exceptions thrown and never caught.
newtype FatalError = FatalError { fatalErrorMessage :: Text }
deriving (Show, Typeable)
deriving (Show)

instance Exception FatalError

Expand Down

0 comments on commit 55b1b00

Please sign in to comment.