Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ErrorNotification a Source
ErrorNotification | |
|
Eq a => Eq (ErrorNotification a) | |
Show a => Show (ErrorNotification a) | |
ToJSON b => ToJSON (ErrorNotification b) |
data StackOptions Source
data ExtraErrorInfo a Source
ExtraErrorInfo | |
|
Eq a => Eq (ExtraErrorInfo a) | |
Show a => Show (ExtraErrorInfo a) |
data YellerClient Source
newtype YellerToken Source
defaultBackends :: [Text] Source
toError :: a -> ExtraErrorInfo b -> YellerClient -> [StackFrame] -> ErrorNotification b Source
parseStackLine :: String -> StackFrame Source
parseStackTrace :: [String] -> [StackFrame] Source
markInApp :: Text -> StackFrame -> StackFrame Source
filterInAppLines :: Text -> [StackFrame] -> [StackFrame] Source
sendError :: (ToError e, ToJSON a) => YellerClient -> e -> ExtraErrorInfo a -> IO () Source
sendNotification :: ToJSON a => YellerClient -> ErrorNotification a -> IO () Source
sendNotificationWithRetry :: ToJSON a => Int -> YellerClient -> ErrorNotification a -> ByteString -> IO () Source
handleNonExceptionalSendRequest :: ToJSON a => Response BodyReader -> Int -> YellerClient -> ErrorNotification a -> ByteString -> IO () Source
cycleBackends :: YellerClient -> IO Backend Source
cycleBackends_ :: [Backend] -> [Backend] Source
modifyTVar_ :: TVar a -> (a -> a) -> STM () Source
makeRequest :: YellerClient -> Backend -> ByteString -> IO Request Source
shutdownClient :: YellerClient -> IO () Source