wai-middleware-rollbar-0.1.0.0: Middleware that communicates to Rollbar.

Copyright(c) Hardy Jones 2017
LicenseBSD3
Maintainerjones3.hardy@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Rollbar.Item.Data

Description

The majority of this module is metadata that is reported for each item.

Synopsis

Documentation

data Data body Source #

The main payload of an item. Most of this is metadata.

N.B. While it's entirely possible for you to create one of these yourself, it's usually easier to use helpers like info and error.

Constructors

Data 

Fields

Instances

Eq body => Eq (Data body) Source # 

Methods

(==) :: Data body -> Data body -> Bool #

(/=) :: Data body -> Data body -> Bool #

Show body => Show (Data body) Source # 

Methods

showsPrec :: Int -> Data body -> ShowS #

show :: Data body -> String #

showList :: [Data body] -> ShowS #

Generic (Data body) Source # 

Associated Types

type Rep (Data body) :: * -> * #

Methods

from :: Data body -> Rep (Data body) x #

to :: Rep (Data body) x -> Data body #

ToJSON body => ToJSON (Data body) Source # 

Methods

toJSON :: Data body -> Value #

toEncoding :: Data body -> Encoding #

toJSONList :: [Data body] -> Value #

toEncodingList :: [Data body] -> Encoding #

type Rep (Data body) Source # 
type Rep (Data body) = D1 (MetaData "Data" "Rollbar.Item.Data" "wai-middleware-rollbar-0.1.0.0-1ocBhR6Y2TA9wWaxwfcQBd" False) (C1 (MetaCons "Data" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "body") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Body body))) (S1 (MetaSel (Just Symbol "codeVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CodeVersion))) ((:*:) (S1 (MetaSel (Just Symbol "context") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Context))) (S1 (MetaSel (Just Symbol "custom") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (HashMap Text Value)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "environment") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Environment)) (S1 (MetaSel (Just Symbol "fingerprint") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Fingerprint)))) ((:*:) (S1 (MetaSel (Just Symbol "framework") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Framework))) (S1 (MetaSel (Just Symbol "language") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Hardcoded "haskell")))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "level") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Level)) (S1 (MetaSel (Just Symbol "notifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Notifier))) ((:*:) (S1 (MetaSel (Just Symbol "person") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Person))) (S1 (MetaSel (Just Symbol "platform") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Platform)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "request") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Request))) (S1 (MetaSel (Just Symbol "server") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Server)))) ((:*:) (S1 (MetaSel (Just Symbol "timestamp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe UTCTime))) ((:*:) (S1 (MetaSel (Just Symbol "title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Title))) (S1 (MetaSel (Just Symbol "uuid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe UUID4)))))))))

newtype Context Source #

The place in the code where this item came from.

Constructors

Context Text 

newtype Framework Source #

The framework that is using this package. E.g. "scotty", "servant", "yesod"

Constructors

Framework Text 

newtype Title Source #

The title of the item.

Constructors

Title Text 

newtype UUID4 Source #

A unique identifier for each item.

Constructors

UUID4 UUID 

Instances

Eq UUID4 Source # 

Methods

(==) :: UUID4 -> UUID4 -> Bool #

(/=) :: UUID4 -> UUID4 -> Bool #

Show UUID4 Source # 

Methods

showsPrec :: Int -> UUID4 -> ShowS #

show :: UUID4 -> String #

showList :: [UUID4] -> ShowS #

Generic UUID4 Source # 

Associated Types

type Rep UUID4 :: * -> * #

Methods

from :: UUID4 -> Rep UUID4 x #

to :: Rep UUID4 x -> UUID4 #

ToJSON UUID4 Source # 
type Rep UUID4 Source # 
type Rep UUID4 = D1 (MetaData "UUID4" "Rollbar.Item.Data" "wai-middleware-rollbar-0.1.0.0-1ocBhR6Y2TA9wWaxwfcQBd" True) (C1 (MetaCons "UUID4" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UUID)))