bugsnag-haskell-0.0.4.3: Bugsnag error reporter for Haskell
Safe HaskellNone
LanguageHaskell2010

Network.Bugsnag.Device

Synopsis

Documentation

newtype Bytes Source #

Constructors

Bytes Natural 

Instances

Instances details
ToJSON Bytes Source # 
Instance details

Defined in Network.Bugsnag.Device

data BugsnagDevice Source #

Instances

Instances details
Generic BugsnagDevice Source # 
Instance details

Defined in Network.Bugsnag.Device

Associated Types

type Rep BugsnagDevice :: Type -> Type #

ToJSON BugsnagDevice Source # 
Instance details

Defined in Network.Bugsnag.Device

type Rep BugsnagDevice Source # 
Instance details

Defined in Network.Bugsnag.Device

type Rep BugsnagDevice = D1 ('MetaData "BugsnagDevice" "Network.Bugsnag.Device" "bugsnag-haskell-0.0.4.3-JkAFvWE5qEdD4lfiA9GoAY" 'False) (C1 ('MetaCons "BugsnagDevice" 'PrefixI 'True) (((S1 ('MetaSel ('Just "bdHostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bdId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bdManufacturer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "bdModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bdModelNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "bdOsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bdOsVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))))) :*: ((S1 ('MetaSel ('Just "bdFreeMemory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bytes)) :*: (S1 ('MetaSel ('Just "bdTotalMemory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bytes)) :*: S1 ('MetaSel ('Just "bdFreeDisk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bytes)))) :*: ((S1 ('MetaSel ('Just "bdBrowserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bdBrowserVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))) :*: (S1 ('MetaSel ('Just "bdJailBroken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "bdOrientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))))

bugsnagDeviceFromWaiRequest :: Request -> Maybe BugsnagDevice Source #

Attempt to divine a BugsnagDevice from a request's User Agent