rollbar-hs-0.3.1.0: Core Rollbar data types and APIs.

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

Rollbar.Item.Body

Description

Use this for providing the majority of your specific data to Rollbar.

Synopsis

Documentation

data Body arbitrary Source #

This is the actual data that you want to give to Rollbar. Most of the rest of Rollbar is metadata.

Constructors

Message

No stack trace, just a message and some arbitrary data.

Fields

Instances
Eq arbitrary => Eq (Body arbitrary) Source # 
Instance details

Defined in Rollbar.Item.Body

Methods

(==) :: Body arbitrary -> Body arbitrary -> Bool #

(/=) :: Body arbitrary -> Body arbitrary -> Bool #

Show arbitrary => Show (Body arbitrary) Source # 
Instance details

Defined in Rollbar.Item.Body

Methods

showsPrec :: Int -> Body arbitrary -> ShowS #

show :: Body arbitrary -> String #

showList :: [Body arbitrary] -> ShowS #

Generic (Body arbitrary) Source # 
Instance details

Defined in Rollbar.Item.Body

Associated Types

type Rep (Body arbitrary) :: * -> * #

Methods

from :: Body arbitrary -> Rep (Body arbitrary) x #

to :: Rep (Body arbitrary) x -> Body arbitrary #

ToJSON arbitrary => ToJSON (Body arbitrary) Source # 
Instance details

Defined in Rollbar.Item.Body

Methods

toJSON :: Body arbitrary -> Value #

toEncoding :: Body arbitrary -> Encoding #

toJSONList :: [Body arbitrary] -> Value #

toEncodingList :: [Body arbitrary] -> Encoding #

FromJSON arbitrary => FromJSON (Body arbitrary) Source # 
Instance details

Defined in Rollbar.Item.Body

Methods

parseJSON :: Value -> Parser (Body arbitrary) #

parseJSONList :: Value -> Parser [Body arbitrary] #

type Rep (Body arbitrary) Source # 
Instance details

Defined in Rollbar.Item.Body

type Rep (Body arbitrary) = D1 (MetaData "Body" "Rollbar.Item.Body" "rollbar-hs-0.3.1.0-AHXin9WUqD3IOtR3mTqHpy" False) (C1 (MetaCons "Message" PrefixI True) (S1 (MetaSel (Just "messageBody") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 MessageBody) :*: S1 (MetaSel (Just "messageData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 arbitrary)))

newtype MessageBody Source #

The primary message text to send to Rollbar.

Constructors

MessageBody Text