Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Synopsis
- newtype FatalError = FatalError {}
- panic :: HasCallStack => Text -> a
Documentation
newtype FatalError Source #
Uncatchable exceptions thrown and never caught.
Instances
Show FatalError Source # | |
Defined in Protolude.Panic showsPrec :: Int -> FatalError -> ShowS # show :: FatalError -> String # showList :: [FatalError] -> ShowS # | |
Exception FatalError Source # | |
Defined in Protolude.Panic toException :: FatalError -> SomeException # fromException :: SomeException -> Maybe FatalError # displayException :: FatalError -> String # |
panic :: HasCallStack => Text -> a Source #