Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ConfigException
- = ParseCustomSnapshotException Text ParseException
- | NoProjectConfigFound (Path Abs Dir) (Maybe Text)
- | UnexpectedArchiveContents [Path Abs Dir] [Path Abs File]
- | UnableToExtractArchive Text (Path Abs File)
- | BadStackVersionException VersionRange
- | NoSuchDirectory FilePath
- | ParseGHCVariantException String
- | BadStackRoot (Path Abs Dir)
- | Won'tCreateStackRootInDirectoryOwnedByDifferentUser (Path Abs Dir) (Path Abs Dir)
- | UserDoesn'tOwnDirectory (Path Abs Dir)
- | ManualGHCVariantSettingsAreIncompatibleWithSystemGHC
- | NixRequiresSystemGhc
- | NoResolverWhenUsingNoProject
- | NoLTSWithMajorVersion Int
- | NoLTSFound
- data ConfigPrettyException
- data ParseAbsolutePathException = ParseAbsolutePathException String String
- packageIndicesWarning :: StyleDoc
Documentation
data ConfigException Source #
Type representing exceptions thrown by functions exported by the Stack.Config module.
Instances
Exception ConfigException Source # | |
Defined in Stack.Types.Config.Exception | |
Show ConfigException Source # | |
Defined in Stack.Types.Config.Exception showsPrec :: Int -> ConfigException -> ShowS # show :: ConfigException -> String # showList :: [ConfigException] -> ShowS # |
data ConfigPrettyException Source #
Type representing 'pretty' exceptions thrown by functions exported by the Stack.Config module.
ParseConfigFileException !(Path Abs File) !ParseException | |
StackWorkEnvNotRelativeDir !String | |
MultiplePackageIndices [PackageIndexConfig] | |
DuplicateLocalPackageNames ![(PackageName, [PackageLocation])] |
Instances
Exception ConfigPrettyException Source # | |
Show ConfigPrettyException Source # | |
Defined in Stack.Types.Config.Exception showsPrec :: Int -> ConfigPrettyException -> ShowS # show :: ConfigPrettyException -> String # showList :: [ConfigPrettyException] -> ShowS # | |
Pretty ConfigPrettyException Source # | |
Defined in Stack.Types.Config.Exception pretty :: ConfigPrettyException -> StyleDoc # |
data ParseAbsolutePathException Source #