Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data SetupHooksException Source #
An error involving the SetupHooks
module of a package with
Hooks build-type.
CannotApplyComponentDiff CannotApplyComponentDiffReason | Cannot apply a diff to a component in a per-component configure hook. |
RulesException RulesException | An error with pre-build rules. |
Instances
Show SetupHooksException Source # | |
Defined in Distribution.Simple.SetupHooks.Errors showsPrec :: Int -> SetupHooksException -> ShowS # show :: SetupHooksException -> String # showList :: [SetupHooksException] -> ShowS # |
data CannotApplyComponentDiffReason Source #
MismatchedComponentTypes Component Component | |
IllegalComponentDiff Component (NonEmpty IllegalComponentDiffReason) |
Instances
data IllegalComponentDiffReason Source #
Instances
Show IllegalComponentDiffReason Source # | |
Defined in Distribution.Simple.SetupHooks.Errors 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.
CyclicRuleDependencies (NonEmpty (RuleBinary, [Tree RuleBinary])) | There are cycles in the dependency graph of fine-grained rules. |
CantFindSourceForRuleDependencies | When executing fine-grained rules compiled into the external hooks executable, we failed to find dependencies of a rule. |
| |
MissingRuleOutputs | When executing fine-grained rules compiled into the external hooks executable, a rule failed to generate the outputs it claimed it would. |
| |
InvalidRuleOutputIndex | An invalid reference to a rule output, e.g. an out-of-range index. |
DuplicateRuleId !RuleId !Rule !Rule | A duplicate |
Instances
Show RulesException Source # | |
Defined in Distribution.Simple.SetupHooks.Errors showsPrec :: Int -> RulesException -> ShowS # show :: RulesException -> String # showList :: [RulesException] -> ShowS # |