package codept-lib
Module Solver.FailureSource
Failure handling: detection of cycle, unresolvable dependencies and internal errors.
Source
type status = | Cycle of Namespaced.t Loc.ext| Extern of Namespaced.t| Depend_on of Namespaced.t| Internal_error
Source
val analyze :
'a blocker ->
alias_resolver ->
'a i list ->
('a i * status option ref) Namespaced.Map.t * 'a cyclesSource
val pp_circular :
'a blocker ->
alias_resolver ->
('a i * 'a) Namespaced.Map.t ->
Namespaced.t ->
bool ->
Format.formatter ->
Namespaced.t ->
unitSource
val pp_cat :
'a blocker ->
alias_resolver ->
('a i * _) Namespaced.Map.t ->
Format.formatter ->
(status * 'a cycle) ->
unitSource
val pp :
'a blocker ->
alias_resolver ->
('a i * _) Namespaced.Map.t ->
Format.formatter ->
'a cycles ->
unit