| Copyright | (c) 2007 Bjorn Bringert 2008 Andrea Vezzosi 2008-2009 Duncan Coutts 2011 Max Bolingbroke |
|---|---|
| License | BSD3 |
| Maintainer | duncan@community.haskell.org |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Codec.Archive.Tar.Read
Description
Documentation
read :: ByteString -> Entries FormatError Source #
data FormatError Source #
Errors that can be encountered when parsing a Tar archive.
Constructors
| TruncatedArchive | |
| ShortTrailer | |
| BadTrailer | |
| TrailingJunk | |
| ChecksumIncorrect | |
| NotTarFormat | |
| UnrecognisedTarFormat | |
| HeaderBadNumericEncoding |
Instances
| Exception FormatError Source # | |
Defined in Codec.Archive.Tar.Read Methods toException :: FormatError -> SomeException # fromException :: SomeException -> Maybe FormatError # displayException :: FormatError -> String # | |
| Show FormatError Source # | |
Defined in Codec.Archive.Tar.Read Methods showsPrec :: Int -> FormatError -> ShowS # show :: FormatError -> String # showList :: [FormatError] -> ShowS # | |
| NFData FormatError Source # | |
Defined in Codec.Archive.Tar.Read Methods rnf :: FormatError -> () # | |
| Eq FormatError Source # | |
Defined in Codec.Archive.Tar.Read | |