Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Synopsis
- data FatalError = FatalError {}
- panic :: HasCallStack => Text -> a
Documentation
data 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 #