License | GPL-3.0-or-later |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Copyright: Oleg Grenrus
Documentation
SomeError String | |
CabalParseError FilePath ByteString [PError] (Maybe Version) [PWarning] | |
PanicCannotParseInput ParseError | |
WarningError String |
Instances
Show Error Source # | |
Exception Error Source # | |
Defined in CabalFmt.Error toException :: Error -> SomeException # fromException :: SomeException -> Maybe Error # displayException :: Error -> String # | |
MonadError Error CabalFmtIO Source # | |
Defined in CabalFmt.Monad throwError :: Error -> CabalFmtIO a # catchError :: CabalFmtIO a -> (Error -> CabalFmtIO a) -> CabalFmtIO a # | |
MonadError Error CabalFmt Source # | |
Defined in CabalFmt.Monad throwError :: Error -> CabalFmt a # catchError :: CabalFmt a -> (Error -> CabalFmt a) -> CabalFmt a # |
renderError :: Error -> IO () Source #