-
Duncan Coutts authored
Each Cmd* module defines its own type for representing the error conditions in selecting package and component targets. Each one has a constructor for the problems that are common to them all, which is shared in the ProjectOrchestration module. Rename these types so that ProjectOrchestration defines the type TargetProblemCommon and each of the others defines their own local type each named TargetProblem. Also make one step closer to proper error reporting for all these types by using die' and verbosity appropriately. Remove the old unused and incomplete error reproting code for TargetProblemCommon. Add a few Eq and Ord instances while we're at it. They'll be needed for testing and other things.
a8489be7