| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Distribution.Simple.SetupHooks.Errors
Documentation
data SetupHooksException Source #
An error involving the SetupHooks module of a package with
Hooks build-type.
Constructors
| 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 Methods showsPrec :: Int -> SetupHooksException -> ShowS # show :: SetupHooksException -> String # showList :: [SetupHooksException] -> ShowS # | |
data CannotApplyComponentDiffReason Source #
Constructors
| MismatchedComponentTypes Component Component | |
| IllegalComponentDiff Component (NonEmpty IllegalComponentDiffReason) |
Instances
| Show CannotApplyComponentDiffReason Source # | |
Defined in Distribution.Simple.SetupHooks.Errors Methods showsPrec :: Int -> CannotApplyComponentDiffReason -> ShowS # show :: CannotApplyComponentDiffReason -> String # showList :: [CannotApplyComponentDiffReason] -> ShowS # | |
data IllegalComponentDiffReason Source #
Instances
| Show IllegalComponentDiffReason Source # | |
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
| 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. |
Fields
| |
| MissingRuleOutputs | When executing fine-grained rules compiled into the external hooks executable, a rule failed to generate the outputs it claimed it would. |
Fields
| |
| 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 Methods showsPrec :: Int -> RulesException -> ShowS # show :: RulesException -> String # showList :: [RulesException] -> ShowS # | |