Cabal-3.12.1.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Simple.Errors

# Documentation

data CabalException Source #

Constructors

NoBenchMarkProgram FilePath |
EnableBenchMark |
BenchMarkNameDisabled String |
NoBenchMark String |
NoLibraryFound | `NoLibraryFound` has been downgraded to a warning, and is therefore no longer emitted.
CompilerNotInstalled CompilerFlavor |
CantFindIncludeFile String |
UnsupportedTestSuite String |
UnsupportedBenchMark String |
NoIncludeFileFound String |
NoModuleFound ModuleName [Suffix] |
RegMultipleInstancePkg |
SuppressingChecksOnFile |
NoSupportDirStylePackageDb |
OnlySupportSpecificPackageDb |
FailedToParseOutputDescribe String PackageId |
DumpFailed String String |
FailedToParseOutputDump String |
ListFailed String |
FailedToParseOutputList String |
ProgramNotFound String |
NoSupportForHoogle |
NoSupportForQuickJumpFlag |
NoGHCVersionFromHaddock |
NoGHCVersionFromCompiler |
HaddockAndGHCVersionDoesntMatch Version Version |
MustHaveSharedLibraries |
HaddockPackageFlags [(InstalledPackageInfo, [UnitId])] |
UnknownCompilerFlavor CompilerFlavor |
FailedToDetermineTarget |
NoMultipleTargets |
REPLNotSupported |
NoSupportBuildingTestSuite TestType |
NoSupportBuildingBenchMark BenchmarkType |
BuildingNotSupportedWithCompiler |
ProvideHaskellSuiteTool String |
CannotDetermineCompilerVersion |
PkgDumpFailed |
FailedToParseOutput |
CantFindSourceModule ModuleName |
VersionMismatchJS FilePath Version FilePath Version |
VersionMismatchGHCJS FilePath Version FilePath Version |
GlobalPackageDBLimitation |
GlobalPackageDBSpecifiedFirst |
MatchDirFileGlob String |
MatchDirFileGlobErrors [String] |
ErrorParsingFileDoesntExist FilePath |
FailedParsing String |
NotFoundMsg |
UnrecognisedBuildTarget [String] |
ReportBuildTargetProblems [(String, [String], String)] |
UnknownBuildTarget [(String, [(String, String)])] |
AmbiguousBuildTarget [(String, [(String, String)])] |
CheckBuildTargets String |
VersionMismatchGHC FilePath Version FilePath Version |
CheckPackageDbStackPost76 |
CheckPackageDbStackPre76 |
GlobalPackageDbSpecifiedFirst |
CantInstallForeignLib |
NoSupportForPreProcessingTest TestType |
NoSupportForPreProcessingBenchmark BenchmarkType |
CantFindSourceForPreProcessFile String |
NoSupportPreProcessingTestExtras TestType |
NoSupportPreProcessingBenchmarkExtras BenchmarkType |
UnlitException String |
RunProgramInvocationException FilePath String |
GetProgramInvocationException FilePath String |
GetProgramInvocationLBSException FilePath String |
CheckSemaphoreSupport |
NoLibraryForPackage |
SanityCheckHookedBuildInfo UnqualComponentName |
ConfigureScriptNotFound |
NoValidComponent |
ConfigureEitherSingleOrAll |
ConfigCIDValidForPreComponent |
SanityCheckForEnableComponents |
SanityCheckForDynamicStaticLinking |
UnsupportedLanguages PackageIdentifier CompilerId [String] |
UnsupportedLanguageExtension PackageIdentifier CompilerId [String] |
CantFindForeignLibraries [String] |
ExpectedAbsoluteDirectory FilePath |
FlagsNotSpecified [FlagName] |
EncounteredMissingDependency [Dependency] |
CompilerDoesn'tSupportThinning |
CompilerDoesn'tSupportReexports |
CompilerDoesn'tSupportBackpack |
LibraryWithinSamePackage [PackageId] |
ReportFailedDependencies [FailedDependency] String |
NoPackageDatabaseSpecified |
HowToFindInstalledPackages CompilerFlavor |
PkgConfigNotFound String String |
BadVersion String String PkgconfigVersion |
UnknownCompilerException |
NoWorkingGcc |
NoOSSupport OS |
NoCompilerSupport String |
InstallDirsNotPrefixRelative (InstallDirs FilePath) |
ExplainErrors (Maybe (Either [Char] [Char])) [String] |
CheckPackageProblems [String] |
LibDirDepsPrefixNotRelative FilePath FilePath |
CombinedConstraints Doc |
CantParseGHCOutput |
IncompatibleWithCabal String String |
Couldn'tFindTestProgram FilePath |
TestCoverageSupport |
Couldn'tFindTestProgLibV09 FilePath |
TestCoverageSupportLibV09 |
RawSystemStdout String |
FindFileCwd FilePath |
FindFileEx FilePath |
FindModuleFileEx ModuleName [Suffix] [FilePath] |
MultipleFilesWithExtension String |
NoDesc |
MultiDesc [String] |
RelocRegistrationInfo |
CreatePackageDB |
WithHcPkg String |
RegisMultiplePkgNotSupported |
RegisteringNotImplemented |
NoTestSuitesEnabled |
TestNameDisabled String |
NoSuchTest String |
ConfigureProgram String FilePath |
RequireProgram String |
NoProgramFound String VersionRange |
BadVersionDb String Version VersionRange FilePath |
UnknownVersionDb String VersionRange FilePath |
MissingCoveredInstalledLibrary UnitId |

#### Instances

Instances details

Show CabalException Source # |
Instance details Defined in Distribution.Simple.Errors Methods showsPrec :: Int -> CabalException -> ShowS # show :: CabalException -> String # showList :: [CabalException] -> ShowS #
Exception (VerboseException CabalException) Source # |
Instance details Defined in Distribution.Simple.Utils Methods toException :: VerboseException CabalException -> SomeException # fromException :: SomeException -> Maybe (VerboseException CabalException) # displayException :: VerboseException CabalException -> String # backtraceDesired :: VerboseException CabalException -> Bool #

data FailedDependency Source #

Constructors

DependencyNotExists PackageName |
DependencyMissingInternal PackageName LibraryName |
DependencyNoVersion Dependency |

#### Instances

Instances details

Show FailedDependency Source # |
Instance details Defined in Distribution.Simple.Errors Methods showsPrec :: Int -> FailedDependency -> ShowS # show :: FailedDependency -> String # showList :: [FailedDependency] -> ShowS #

exceptionCode :: CabalException -> Int Source #

exceptionMessage :: CabalException -> String Source #