| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
GHC.Err.Located
- error :: HasCallStack => [Char] -> a
- undefined :: HasCallStack => a
- type HasCallStack = ?callStack :: CallStack
- showCallStack :: CallStack -> String
Documentation
error :: HasCallStack => [Char] -> a #
error stops execution and displays an error message.
undefined :: HasCallStack => a #
type HasCallStack = ?callStack :: CallStack #
Request a CallStack.
NOTE: The implicit parameter ?callStack :: CallStack is an
implementation detail and should not be considered part of the
CallStack API, we may decide to change the implementation in the
future.
Since: 4.9.0.0
showCallStack :: CallStack -> String Source #
Deprecated: use GHC.Stack.prettyCallStack instead