otel-api-common-0.0.0: STUB
Safe HaskellSafe-Inferred
LanguageHaskell2010

OTel.API.Common.Handlers.OnException

Documentation

data OnException a Source #

Instances

Instances details
MonadIO OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

liftIO :: IO a -> OnException a #

Applicative OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

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 #

Functor OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

fmap :: (a -> b) -> OnException a -> OnException b #

(<$) :: a -> OnException b -> OnException a #

Monad OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

(>>=) :: OnException a -> (a -> OnException b) -> OnException b #

(>>) :: OnException a -> OnException b -> OnException b #

return :: a -> OnException a #

MonadCatch OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

catch :: (HasCallStack, Exception e) => OnException a -> (e -> OnException a) -> OnException a #

MonadMask OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

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) #

MonadThrow OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> OnException a #

MonadLogger OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> OnException () #

MonadLoggerIO OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

askLoggerIO :: OnException (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) #

MonadUnliftIO OnException Source # 
Instance details

Defined in OTel.API.Common.Internal

Methods

withRunInIO :: ((forall a. OnException a -> IO a) -> IO b) -> OnException b #

Monoid a => Monoid (OnException a) Source # 
Instance details

Defined in OTel.API.Common.Internal

Semigroup a => Semigroup (OnException a) Source # 
Instance details

Defined in OTel.API.Common.Internal