Module Zeroinstall_solver.Diagnostics
Explaining why a solve failed or gave an unexpected answer.
Parameters
Signature
module Note : sig ... endAn item of information to display for a component.
module Component : sig ... endInformation about a single role in the example (failed) selections produced by the solver.
type t= Component.t Result.RoleMap.tAn analysis of why the solve failed.
val of_result : Result.t -> tof_result ris an analysis of failed solver resultr. We take the partial solution from the solver and discover, for each component we couldn't select, which constraints caused the candidates to be rejected.
val get_failure_reason : ?verbose:bool -> Result.t -> stringget_failure_reason ranalysesrwithof_resultand formats the analysis as a string.