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