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