bugsnag-1.1.0.0: Bugsnag error reporter for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Bugsnag.CodeIndex

Description

Compile-time snapshot of your project source

This is necessary to attach source code snippets to exceptions reported to Bugsnag. We do this by reading the project source at compile-time and stashing the result in Settings.

  • *WARNING**: This feature (probably) means you will be holding all indexed source code in memory during the life of your process. And in larger projects, it will embed substantial amounts of source code in a single file, which can significantly degrade compilation time.

Documentation

data CodeIndex Source #

Instances

Instances details
Show CodeIndex Source # 
Instance details

Defined in Network.Bugsnag.CodeIndex

Lift CodeIndex Source # 
Instance details

Defined in Network.Bugsnag.CodeIndex

Methods

lift :: Quote m => CodeIndex -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => CodeIndex -> Code m CodeIndex #