Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module GHC.Utils.Panic

    Defines basic functions for printing error messages. It's hard to put these functions anywhere else without causing some unnecessary loops in the module dependency graph.

  2. Panic :: String -> GhcException

    ghc GHC.Utils.Panic

    The impossible happened.

  3. PprPanic :: String -> SDoc -> GhcException

    ghc GHC.Utils.Panic

    No documentation available.

  4. PprProgramError :: String -> SDoc -> GhcException

    ghc GHC.Utils.Panic

    No documentation available.

  5. PprSorry :: String -> SDoc -> GhcException

    ghc GHC.Utils.Panic

    No documentation available.

  6. ProgramError :: String -> GhcException

    ghc GHC.Utils.Panic

    An error in the user's code, probably.

  7. module GHC.Utils.Panic.Plain

    Defines a simple exception type and utilities to throw it. The PlainGhcException type is a subset of the GhcException type. It omits the exception constructors that involve pretty-printing via SDoc. The reason for this is to avoid import cycles / use of boot files. GHC.Utils.Outputable has many transitive dependencies. To throw exceptions from these modules, the functions here can be used without introducing import cycles.

  8. PlainCmdLineError :: String -> PlainGhcException

    ghc GHC.Utils.Panic.Plain

    A problem with the command line arguments, but don't print usage.

  9. data PlainGhcException

    ghc GHC.Utils.Panic.Plain

    This type is very similar to GhcException, but it omits the constructors that involve pretty-printing via SDoc. Due to the implementation of fromException for GhcException, this type can be caught as a GhcException. Note that this should only be used for throwing exceptions, not for catching, as GhcException will not be converted to this type when catching.

  10. PlainInstallationError :: String -> PlainGhcException

    ghc GHC.Utils.Panic.Plain

    An installation problem.

Page 171 of many | Previous | Next