napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Run.Effects.Interpreters.FatalError

Documentation

runFatalError :: forall (r :: EffectRow) a. Member (Error NapkinEffectError :: (Type -> Type) -> Type -> Type) r => Sem ((FatalError :: (Type -> Type) -> Type -> Type) ': r) a -> Sem r a #

runFatalErrorEither :: forall (r :: [(Type -> Type) -> Type -> Type]) a. Sem ((FatalError :: (Type -> Type) -> Type -> Type) ': r) a -> Sem r (Either Text a) #