napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Run.Types.ErrorReporting

Documentation

class Exception a => ShowExceptionWithPrefix a where #

Methods

showParts :: a -> (Text, Text) #

Instances

Instances details
ShowExceptionWithPrefix ValidationError # 
Instance details

Defined in Napkin.Run.Types.ErrorReporting

withNapkinError :: forall (m :: Type -> Type) e a. (Monad m, ToNapkinError e) => ExceptT e m a -> ExceptT NapkinError m a #