Used for compiler-generated error message; encoding saves bytes of string junk.
Moduleghc-internal-9.1003.0Haskell2010
GHC.Internal.Err
The GHC.Err module defines the code for the wired-in error functions,
which have a special type in the compiler (with "open tyvars").
We cannot define these functions in a module where they might be used
(e.g., GHC.Base), because the magical wired-in type will get confused
with what the typechecker figures out.
- 4 values
- Packageghc-internal-9.1003.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceErr.hs
error stops execution and displays an error message.
A variant of error that does not produce a stack trace.