OTel.API.Common.Handlers.OnException
data OnException a Source #
Defined in OTel.API.Common.Internal
Methods
liftIO :: IO a -> OnException a #
pure :: a -> OnException a #
(<*>) :: OnException (a -> b) -> OnException a -> OnException b #
liftA2 :: (a -> b -> c) -> OnException a -> OnException b -> OnException c #
(*>) :: OnException a -> OnException b -> OnException b #
(<*) :: OnException a -> OnException b -> OnException a #
fmap :: (a -> b) -> OnException a -> OnException b #
(<$) :: a -> OnException b -> OnException a #
(>>=) :: OnException a -> (a -> OnException b) -> OnException b #
(>>) :: OnException a -> OnException b -> OnException b #
return :: a -> OnException a #
catch :: (HasCallStack, Exception e) => OnException a -> (e -> OnException a) -> OnException a #
mask :: HasCallStack => ((forall a. OnException a -> OnException a) -> OnException b) -> OnException b #
uninterruptibleMask :: HasCallStack => ((forall a. OnException a -> OnException a) -> OnException b) -> OnException b #
generalBracket :: HasCallStack => OnException a -> (a -> ExitCase b -> OnException c) -> (a -> OnException b) -> OnException (b, c) #
throwM :: (HasCallStack, Exception e) => e -> OnException a #
monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> OnException () #
askLoggerIO :: OnException (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) #
withRunInIO :: ((forall a. OnException a -> IO a) -> IO b) -> OnException b #
mempty :: OnException a #
mappend :: OnException a -> OnException a -> OnException a #
mconcat :: [OnException a] -> OnException a #
(<>) :: OnException a -> OnException a -> OnException a #
sconcat :: NonEmpty (OnException a) -> OnException a #
stimes :: Integral b => b -> OnException a -> OnException a #
askException :: OnException SomeException Source #
askExceptionMetadata :: OnException [SeriesElem] Source #