| Copyright | (c) Hardy Jones 2017 | 
|---|---|
| License | BSD3 | 
| Maintainer | jones3.hardy@gmail.com | 
| Stability | experimental | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Rollbar.Item.Body
Description
Use this for providing the majority of your specific data to Rollbar.
Synopsis
- data Body arbitrary = Message {- messageBody :: MessageBody
- messageData :: arbitrary
 
- newtype MessageBody = MessageBody Text
Documentation
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 # | |
| Show arbitrary => Show (Body arbitrary) Source # | |
| Generic (Body arbitrary) Source # | |
| ToJSON arbitrary => ToJSON (Body arbitrary) Source # | |
| Defined in Rollbar.Item.Body | |
| FromJSON arbitrary => FromJSON (Body arbitrary) Source # | |
| type Rep (Body arbitrary) Source # | |
| 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 | 
Instances
| Eq MessageBody Source # | |
| Defined in Rollbar.Item.Body | |
| Show MessageBody Source # | |
| Defined in Rollbar.Item.Body Methods showsPrec :: Int -> MessageBody -> ShowS # show :: MessageBody -> String # showList :: [MessageBody] -> ShowS # | |
| IsString MessageBody Source # | |
| Defined in Rollbar.Item.Body Methods fromString :: String -> MessageBody # | |
| ToJSON MessageBody Source # | |
| Defined in Rollbar.Item.Body Methods toJSON :: MessageBody -> Value # toEncoding :: MessageBody -> Encoding # toJSONList :: [MessageBody] -> Value # toEncodingList :: [MessageBody] -> Encoding # | |
| FromJSON MessageBody Source # | |
| Defined in Rollbar.Item.Body | |