Distribution.Client.Errors

cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.

Safe Haskell | None
Language | Haskell2010

Distribution.Client.Errors

# Documentation

data CabalInstallException #

Constructors

UnpackGet |
NotTarballDir FilePath |
DirectoryAlreadyExists FilePath |
FileExists FilePath |
FileAlreadyExists FilePath |
DirectoryExists FilePath |
SplitRunArgs String |
CouldNotFindExecutable |
FoundMultipleMatchingExes |
NoRemoteRepositories |
NotATarDotGzFile FilePath |
ExpectedMatchingFileName |
NoTargetProvided |
OneTargetRequired |
ThisIsABug |
NoOrMultipleTargetsGiven |
NoTargetFound |
MultipleTargetsFound |
UnexpectedNamedPkgSpecifiers |
UnexpectedSourcePkgSpecifiers |
UnableToPerformInplaceUpdate |
EmptyValuePagerEnvVariable |
FileDoesntExist FilePath |
ParseError |
CabalFileNotFound FilePath |
FindOpenProgramLocationErr String |
PkgConfParseFailed String |
ErrorPackingSdist String |
SdistException PackageIdentifier |
SpecifyAnExecutable |
TestCommandDoesn'tSupport |
ReportTargetProblems String |
ListBinTargetException String |
ResolveWithoutDependency String |
CannotReadCabalFile FilePath |
ErrorUpdatingIndex FilePath IOException |
InternalError FilePath |
ReadIndexCache FilePath |
ConfigStateFileException String |
UploadAction |
UploadActionDocumentation |
UploadActionOnlyArchives [FilePath] |
FileNotFound FilePath |
CheckAction [String] |
ReportAction [String] |
InitAction |
UserConfigAction FilePath |
SpecifySubcommand |
UnknownUserConfigSubcommand [String] |
ManpageAction [String] |
UnrecognizedResponse |
CheckTarget |
FetchPackage |
PlanPackages String |
NoSupportForRunCommand |
RunPhaseReached |
UnknownExecutable String UnitId |
MultipleMatchingExecutables String [String] |
CmdRunReportTargetProblems String |
CleanAction [String] |
ReportCannotPruneDependencies String |
ReplCommandDoesn'tSupport |
ReplTakesNoArguments [String] |
ReplTakesSingleArgument [String] |
RenderReplTargetProblem [String] |
GetPkgList String WrapError |
GatherPkgInfo PackageName VersionRange |
UnableToParseRepo String |
NullUnknownrepos [String] [String] |
UpdateSetupScript |
InstalledCabalVersion PackageName VersionRange |
FailNoConfigFile String |
ParseFailedErr FilePath String String |
ParseExtraLinesFailedErr String String |
ParseExtraLinesOkError [PWarning] |
FetchPackageErr |
ReportParseResult String FilePath String String |
ReportSourceRepoProblems String |
BenchActionException |
RenderBenchTargetProblem [String] |
ReportUserTargetProblems [String] |
ReportUserTargerNonexistantFile [String] |
ReportUserTargetUnexpectedFile [String] |
ReportUserTargetUnexpectedUriScheme [String] |
ReportUserTargetUnrecognisedUri [String] |
ReadTarballPackageTarget FilePath FilePath |
ReportPackageTargetProblems [PackageName] |
PackageNameAmbiguousErr [(PackageName, [PackageName])] |
ExtractTarballPackageErr String |
OutdatedAction |
FreezeFileExistsErr FilePath |
FinalizePDFailed |
ProjectTargetSelector String String |
PhaseRunSolverErr String |
HaddockCommandDoesn'tSupport |
CannotParseURIFragment String String |
MakeDownload URI ByteString ByteString |
FailedToDownloadURI URI String |
RemoteRepoCheckHttps String String |
TransportCheckHttps URI String |
NoPostYet |
WGetServerError FilePath String |
Couldn'tEstablishHttpConnection |
StatusParseFail URI String |
TryUpgradeToHttps [String] |
UnknownHttpTransportSpecified String [String] |
CmdHaddockReportTargetProblems [String] |
FailedExtractingScriptBlock String |
FreezeAction [String] |
TryFindPackageDescErr String |
DieIfNotHaddockFailureException String |
ConfigureInstallInternalError |
CmdErrorMessages [String] |
ReportTargetSelectorProblems [String] |
UnrecognisedTarget [(String, [String], String)] |
NoSuchTargetSelectorErr [(String, [(Maybe (String, String), String, String, [String])])] |
TargetSelectorAmbiguousErr [(String, [(String, String)])] |
TargetSelectorNoCurrentPackageErr String |
TargetSelectorNoTargetsInCwdTrue |
TargetSelectorNoTargetsInCwdFalse |
TargetSelectorNoTargetsInProjectErr |
TargetSelectorNoScriptErr String |
MatchingInternalErrorErr String String String [(String, [String])] |
ReportPlanningFailure String |
Can'tDownloadPackagesOffline [String] |
SomePackagesFailedToInstall [(String, String)] |
PackageDotCabalFileNotFound FilePath |
PkgConfParsedFailed String |
BrokenException String |
WithoutProject String [String] |
PackagesAlreadyExistInEnvfile FilePath [String] |
ConfigTests |
ConfigBenchmarks |
UnknownPackage String [String] |
InstallUnitExes String |
SelectComponentTargetError String |
SdistActionException [String] |
Can'tWriteMultipleTarballs |
ImpossibleHappened String |
CannotConvertTarballPackage String |
Win32SelfUpgradeNotNeeded |
FreezeException String |
PkgSpecifierException [String] |
CorruptedIndexCache String |
UnusableIndexState RemoteRepo Timestamp Timestamp |
MissingPackageList RemoteRepo |
CmdPathAcceptsNoTargets |
CmdPathCommandDoesn'tSupportDryRun |

#### Instances

Instances details

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

exceptionCodeCabalInstall :: CabalInstallException -> Int #

exceptionMessageCabalInstall :: CabalInstallException -> String #