Maintainer | [email protected] |
---|---|
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Distribution.Hackage.DB.Errors
Description
Documentation
data HackageDBTarball a Source #
Constructors
HackageDBTarball FilePath a |
Instances
(Show a, Typeable a) => Exception (HackageDBTarball a) Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: HackageDBTarball a -> SomeException # fromException :: SomeException -> Maybe (HackageDBTarball a) # displayException :: HackageDBTarball a -> String # | |
Show a => Show (HackageDBTarball a) Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> HackageDBTarball a -> ShowS # show :: HackageDBTarball a -> String # showList :: [HackageDBTarball a] -> ShowS # |
data HackageDBPackageName a Source #
Constructors
HackageDBPackageName PackageName a |
Instances
(Show a, Typeable a) => Exception (HackageDBPackageName a) Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: HackageDBPackageName a -> SomeException # fromException :: SomeException -> Maybe (HackageDBPackageName a) # displayException :: HackageDBPackageName a -> String # | |
Show a => Show (HackageDBPackageName a) Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> HackageDBPackageName a -> ShowS # show :: HackageDBPackageName a -> String # showList :: [HackageDBPackageName a] -> ShowS # |
data HackageDBPackageVersion a Source #
Constructors
HackageDBPackageVersion Version a |
Instances
(Show a, Typeable a) => Exception (HackageDBPackageVersion a) Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: HackageDBPackageVersion a -> SomeException # fromException :: SomeException -> Maybe (HackageDBPackageVersion a) # | |
Show a => Show (HackageDBPackageVersion a) Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> HackageDBPackageVersion a -> ShowS # show :: HackageDBPackageVersion a -> String # showList :: [HackageDBPackageVersion a] -> ShowS # |
newtype IncorrectTarfile Source #
Constructors
IncorrectTarfile FormatError |
Instances
Exception IncorrectTarfile Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: IncorrectTarfile -> SomeException # | |
Show IncorrectTarfile Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> IncorrectTarfile -> ShowS # show :: IncorrectTarfile -> String # showList :: [IncorrectTarfile] -> ShowS # |
newtype UnsupportedTarEntry Source #
Constructors
UnsupportedTarEntry Entry |
Instances
Exception UnsupportedTarEntry Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: UnsupportedTarEntry -> SomeException # fromException :: SomeException -> Maybe UnsupportedTarEntry # | |
Show UnsupportedTarEntry Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> UnsupportedTarEntry -> ShowS # show :: UnsupportedTarEntry -> String # showList :: [UnsupportedTarEntry] -> ShowS # |
newtype InvalidMetaFile Source #
Constructors
InvalidMetaFile String |
Instances
Exception InvalidMetaFile Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: InvalidMetaFile -> SomeException # | |
Show InvalidMetaFile Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> InvalidMetaFile -> ShowS # show :: InvalidMetaFile -> String # showList :: [InvalidMetaFile] -> ShowS # |
newtype InvalidCabalFile Source #
Constructors
InvalidCabalFile String |
Instances
Exception InvalidCabalFile Source # | |
Defined in Distribution.Hackage.DB.Errors Methods toException :: InvalidCabalFile -> SomeException # | |
Show InvalidCabalFile Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> InvalidCabalFile -> ShowS # show :: InvalidCabalFile -> String # showList :: [InvalidCabalFile] -> ShowS # |
data InvalidRepresentationOfType Source #
Constructors
InvalidRepresentationOfType String String |
Instances
Exception InvalidRepresentationOfType Source # | |
Show InvalidRepresentationOfType Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> InvalidRepresentationOfType -> ShowS # show :: InvalidRepresentationOfType -> String # showList :: [InvalidRepresentationOfType] -> ShowS # |
data NoHackageTarballFound Source #
Constructors
NoHackageTarballFound |
Instances
Exception NoHackageTarballFound Source # | |
Defined in Distribution.Hackage.DB.Errors | |
Show NoHackageTarballFound Source # | |
Defined in Distribution.Hackage.DB.Errors Methods showsPrec :: Int -> NoHackageTarballFound -> ShowS # show :: NoHackageTarballFound -> String # showList :: [NoHackageTarballFound] -> ShowS # |