napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

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