Copyright | (c) Hardy Jones 2017 |
---|---|
License | BSD3 |
Maintainer | jones3.hardy@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Rollbar.Item.Data
Description
The majority of this module is metadata that is reported for each item.
- data Data body headers = Data {
- body :: Body body
- codeVersion :: Maybe CodeVersion
- context :: Maybe Context
- custom :: Maybe (HashMap Text Value)
- environment :: Environment
- fingerprint :: Maybe Fingerprint
- framework :: Maybe Framework
- language :: Hardcoded "haskell"
- level :: Level
- notifier :: Notifier
- person :: Maybe Person
- platform :: Platform
- request :: Maybe (Request headers)
- server :: Maybe Server
- timestamp :: Maybe UTCTime
- title :: Maybe Title
- uuid :: Maybe UUID4
- newtype Context = Context Text
- newtype Fingerprint = Fingerprint Text
- newtype Framework = Framework Text
- newtype Title = Title Text
- newtype UUID4 = UUID4 UUID
- class RemoveHeaders (headers :: [Symbol])
Documentation
data Data body headers 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
The place in the code where this item came from.
The framework that is using this package. E.g. "scotty", "servant", "yesod"
The title of the item.
A unique identifier for each item.
class RemoveHeaders (headers :: [Symbol]) Source #
Remove the headers given from the underlying request headers.
Minimal complete definition
removeHeaders
Instances
RemoveHeaders ([] Symbol) Source # | |
(KnownSymbol header, RemoveHeaders headers) => RemoveHeaders ((:) Symbol header headers) Source # | |