Copyright | (c) Hardy Jones 2017 |
---|---|
License | BSD3 |
Maintainer | jones3.hardy@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
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.
Message | No stack trace, just a message and some arbitrary data. |
|
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.
Instances
Eq MessageBody Source # | |
Defined in Rollbar.Item.Body (==) :: MessageBody -> MessageBody -> Bool # (/=) :: MessageBody -> MessageBody -> Bool # | |
Show MessageBody Source # | |
Defined in Rollbar.Item.Body showsPrec :: Int -> MessageBody -> ShowS # show :: MessageBody -> String # showList :: [MessageBody] -> ShowS # | |
IsString MessageBody Source # | |
Defined in Rollbar.Item.Body fromString :: String -> MessageBody # | |
ToJSON MessageBody Source # | |
Defined in Rollbar.Item.Body toJSON :: MessageBody -> Value # toEncoding :: MessageBody -> Encoding # toJSONList :: [MessageBody] -> Value # toEncodingList :: [MessageBody] -> Encoding # | |
FromJSON MessageBody Source # | |
Defined in Rollbar.Item.Body parseJSON :: Value -> Parser MessageBody # parseJSONList :: Value -> Parser [MessageBody] # |