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