Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class ReportError a where Source #
Nothing
errorReport :: a -> ErrorReport Source #
default errorReport :: Generic a => GenReportError (Rep a) => a -> ErrorReport Source #
Instances
class GenReportError f where Source #
genErrorReport :: f a -> ErrorReport Source #
Instances
(GenReportError f, GenReportError g) => GenReportError (f :+: g :: k -> Type) Source # | |
Defined in Ribosome.Error.Report.Class genErrorReport :: forall (a :: k0). (f :+: g) a -> ErrorReport Source # | |
ReportError a => GenReportError (K1 i a :: k -> Type) Source # | |
Defined in Ribosome.Error.Report.Class genErrorReport :: forall (a0 :: k0). K1 i a a0 -> ErrorReport Source # | |
GenReportError f => GenReportError (M1 i c f :: k -> Type) Source # | |
Defined in Ribosome.Error.Report.Class genErrorReport :: forall (a :: k0). M1 i c f a -> ErrorReport Source # |