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 |
|
Exception FatalError Source # | |
Defined in Protolude.Panic Methods toException :: FatalError -> SomeException Source # fromException :: SomeException -> Maybe FatalError Source # displayException :: FatalError -> String Source # |
panic :: HasCallStack => Text -> a Source #