Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Stack.Types.Config.Exception
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.
Constructors
Instances
Exception ConfigException Source # | |
Defined in Stack.Types.Config.Exception Methods toException :: ConfigException -> SomeException # | |
Show ConfigException Source # | |
Defined in Stack.Types.Config.Exception Methods 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.
Constructors
ParseConfigFileException !(Path Abs File) !ParseException | |
StackWorkEnvNotRelativeDir !String | |
MultiplePackageIndices [PackageIndexConfig] | |
DuplicateLocalPackageNames ![(PackageName, [PackageLocation])] |
Instances
Exception ConfigPrettyException Source # | |
Defined in Stack.Types.Config.Exception | |
Show ConfigPrettyException Source # | |
Defined in Stack.Types.Config.Exception Methods showsPrec :: Int -> ConfigPrettyException -> ShowS # show :: ConfigPrettyException -> String # showList :: [ConfigPrettyException] -> ShowS # | |
Pretty ConfigPrettyException Source # | |
Defined in Stack.Types.Config.Exception Methods pretty :: ConfigPrettyException -> StyleDoc # |
data ParseAbsolutePathException Source #
Constructors
ParseAbsolutePathException String String |
Instances
Exception ParseAbsolutePathException Source # | |
Defined in Stack.Types.Config.Exception | |
Show ParseAbsolutePathException Source # | |
Defined in Stack.Types.Config.Exception Methods showsPrec :: Int -> ParseAbsolutePathException -> ShowS # show :: ParseAbsolutePathException -> String # showList :: [ParseAbsolutePathException] -> ShowS # |