Module Errors.Tools_error

type handle_subs_error = [
  1. | `UnresolvedPath of [ `Module of Odoc_xref2.Cpath.module_ ]
]
type reference_kind = [
  1. | `C
  2. | `CT
  3. | `Cons
  4. | `Field
  5. | `Label
  6. | `Page
  7. | `S
  8. | `T
]
type expansion_of_module_error = [
  1. | `OpaqueModule
  2. | `UnexpandedTypeOf of Odoc_xref2.Component.ModuleType.type_of_desc
  3. | `UnresolvedForwardPath
  4. | `UnresolvedPath of [ `Module of Odoc_xref2.Cpath.module_ * simple_module_lookup_error | `ModuleType of Odoc_xref2.Cpath.module_type * simple_module_type_lookup_error ]
]
and simple_module_lookup_error = [
  1. | `Find_failure
  2. | `Local of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_module
  3. | `Lookup_failure of Odoc_model.Paths.Identifier.Path.Module.t
  4. | `Lookup_failure_root of string
  5. | `Parent of parent_lookup_error
]
and simple_module_type_expr_of_module_error = [
  1. | `ApplyNotFunctor
  2. | `OpaqueModule
  3. | `Parent of parent_lookup_error
  4. | `UnresolvedForwardPath
  5. | `UnresolvedPath of [ `Module of Odoc_xref2.Cpath.module_ * simple_module_lookup_error | `ModuleType of Odoc_xref2.Cpath.module_type * simple_module_type_lookup_error ]
]
and simple_module_type_lookup_error = [
  1. | `Find_failure
  2. | `LocalMT of Odoc_xref2.Env.t * Odoc_xref2.Ident.module_type
  3. | `Lookup_failureMT of Odoc_model.Paths.Identifier.ModuleType.t
  4. | `Parent of parent_lookup_error
]
and simple_type_lookup_error = [
  1. | `Class_replaced
  2. | `Find_failure
  3. | `LocalType of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_type
  4. | `Lookup_failureT of Odoc_model.Paths.Identifier.Path.Type.t
  5. | `OpaqueClass
  6. | `Parent of parent_lookup_error
]
and simple_datatype_lookup_error = [
  1. | `Find_failure
  2. | `LocalDataType of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_datatype
  3. | `Lookup_failureT of Odoc_model.Paths.Identifier.Path.Type.t
  4. | `Parent of parent_lookup_error
]
and simple_value_lookup_error = [
  1. | `Find_failure
  2. | `LocalValue of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_value
  3. | `Lookup_failureV of Odoc_model.Paths.Identifier.Path.Value.t
  4. | `Parent of parent_lookup_error
]
and simple_constructor_lookup_error = [
  1. | `Find_failure
  2. | `LocalConstructor of Odoc_xref2.Env.t * Odoc_xref2.Ident.constructor
  3. | `Lookup_failureC of Odoc_model.Paths.Identifier.Path.Constructor.t
  4. | `ParentC of simple_datatype_lookup_error
]
and parent_lookup_error = [
  1. | `Fragment_root
  2. | `Parent of parent_lookup_error
  3. | `Parent_expr of simple_module_type_expr_of_module_error
  4. | `Parent_module of simple_module_lookup_error
  5. | `Parent_module_type of simple_module_type_lookup_error
  6. | `Parent_sig of expansion_of_module_error
  7. | `Parent_type of simple_type_lookup_error
  8. | `Reference of reference_lookup_error
]
and reference_lookup_error = [
  1. | `Find_by_name of [ `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string
  2. | `Lookup_by_name of [ `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string
  3. | `Parent of parent_lookup_error
  4. | `Wrong_kind of reference_kind list * reference_kind
]
type any = [
  1. | `ApplyNotFunctor
  2. | `Class_replaced
  3. | `Find_failure
  4. | `Fragment_root
  5. | `Local of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_module
  6. | `LocalConstructor of Odoc_xref2.Env.t * Odoc_xref2.Ident.constructor
  7. | `LocalDataType of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_datatype
  8. | `LocalMT of Odoc_xref2.Env.t * Odoc_xref2.Ident.module_type
  9. | `LocalType of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_type
  10. | `LocalValue of Odoc_xref2.Env.t * Odoc_xref2.Ident.path_value
  11. | `Lookup_failure of Odoc_model.Paths.Identifier.Path.Module.t
  12. | `Lookup_failureC of Odoc_model.Paths.Identifier.Path.Constructor.t
  13. | `Lookup_failureMT of Odoc_model.Paths.Identifier.ModuleType.t
  14. | `Lookup_failureT of Odoc_model.Paths.Identifier.Path.Type.t
  15. | `Lookup_failureV of Odoc_model.Paths.Identifier.Path.Value.t
  16. | `Lookup_failure_root of string
  17. | `OpaqueClass
  18. | `OpaqueModule
  19. | `Parent of parent_lookup_error
  20. | `ParentC of simple_datatype_lookup_error
  21. | `Parent_expr of simple_module_type_expr_of_module_error
  22. | `Parent_module of simple_module_lookup_error
  23. | `Parent_module_type of simple_module_type_lookup_error
  24. | `Parent_sig of expansion_of_module_error
  25. | `Parent_type of simple_type_lookup_error
  26. | `Reference of reference_lookup_error
  27. | `UnexpandedTypeOf of Odoc_xref2.Component.ModuleType.type_of_desc
  28. | `UnresolvedForwardPath
  29. | `UnresolvedPath of [ `Module of Odoc_xref2.Cpath.module_ * simple_module_lookup_error | `ModuleType of Odoc_xref2.Cpath.module_type * simple_module_type_lookup_error ]
]
val pp_reference_kind : Format.formatter -> [< `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] -> unit
val pp : Format.formatter -> any -> unit
val pp_reference_lookup_error : Format.formatter -> reference_lookup_error -> unit