| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Distribution.Simple.SetupHooks.Errors
Synopsis
Documentation
data SetupHooksException Source #
An error involving the SetupHooks module of a package with
Hooks build-type.
Constructors
Cannot apply a diff to a component in a per-component configure hook.
Instances
Instances details
Instance details
Defined in Distribution.Simple.SetupHooks.Errors
Methods
showsPrec :: Int -> SetupHooksException -> ShowS #
show :: SetupHooksException -> String #
showList :: [SetupHooksException] -> ShowS #
data CannotApplyComponentDiffReason Source #
Constructors
Instances
Instances details
Instance details
Defined in Distribution.Simple.SetupHooks.Errors
Methods
showsPrec :: Int -> CannotApplyComponentDiffReason -> ShowS #
show :: CannotApplyComponentDiffReason -> String #
showList :: [CannotApplyComponentDiffReason] -> ShowS #
data IllegalComponentDiffReason Source #
Instances
Instances details
Instance details
Defined in Distribution.Simple.SetupHooks.Errors
Methods
showsPrec :: Int -> IllegalComponentDiffReason -> ShowS #
show :: IllegalComponentDiffReason -> String #
showList :: [IllegalComponentDiffReason] -> ShowS #
data RulesException Source #
AN error involving the Rules in the SetupHooks module of a
package with the Hooks build-type.
Constructors
There are cycles in the dependency graph of fine-grained rules.
When executing fine-grained rules compiled into the external hooks executable, we failed to find dependencies of a rule.
Fields
- RuleBinary
- (NonEmpty Location)
missing dependencies
When executing fine-grained rules compiled into the external hooks executable, a rule failed to generate the outputs it claimed it would.
Fields
- RuleBinary
- (NonEmpty Location)
missing outputs
An invalid reference to a rule output, e.g. an out-of-range index.
Instances
Instances details
Instance details
Defined in Distribution.Simple.SetupHooks.Errors
Methods
showsPrec :: Int -> RulesException -> ShowS #
show :: RulesException -> String #
showList :: [RulesException] -> ShowS #