Module Odoc_xref2.ErrorsSource

Sourcemodule Tools_error : sig ... end
Sourceval is_unexpanded_module_type_of : Tools_error.any -> bool
Sourcetype kind = [
  1. | `OpaqueModule
  2. | `Root of string
]
Sourceval kind_of_module_cpath : [> `Apply of 'b * 'c | `Dot of 'd * 'e | `Root of 'f | `Substituted of 'g ] as 'a -> [> `Root of 'f ] option
Sourceval kind_of_module_type_cpath : [> `Dot of [> `Apply of 'c * 'c | `Dot of 'c * 'd | `Root of 'e | `Substituted of 'c ] as 'b * 'f | `Substituted of 'g ] as 'a -> [> `Root of 'e ] option
Sourceval kind_of_type_of_desc : Component.ModuleType.type_of_desc -> kind option
Sourceval kind_of_error : what: [> `Include of Component.Include.decl | `Module of [> `Root of 'a * Odoc_model.Names.ModuleName.t ] Odoc_model.Paths.Identifier.id ] -> [< `ApplyNotFunctor | `Class_replaced | `Find_failure | `Fragment_root | `Local of Env.t * [< Ident.path_module ] | `LocalConstructor of Env.t * [< Ident.constructor ] | `LocalDataType of Env.t * [< Ident.datatype ] | `LocalMT of Env.t * [< Ident.module_type ] | `LocalType of Env.t * [< Ident.path_type ] | `LocalValue of Env.t * [< Ident.value ] | `Lookup_failure of [< Odoc_model.Paths.Identifier.Path.Module.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureC of [< Odoc_model.Paths.Identifier.Constructor.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureMT of [< Odoc_model.Paths.Identifier.ModuleType.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureT of [< Odoc_model.Paths.Identifier.Path.Type.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureV of [< Odoc_model.Paths.Identifier.Value.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failure_root of string | `OpaqueClass | `OpaqueModule | `Parent of [< Tools_error.parent_lookup_error ] | `ParentC of [< Tools_error.simple_datatype_lookup_error ] | `Parent_expr of [< `ApplyNotFunctor | `OpaqueModule | `Parent of Tools_error.parent_lookup_error | `UnresolvedForwardPath | `UnresolvedPath of [ `Module of Cpath.module_ * Tools_error.simple_module_lookup_error | `ModuleType of Cpath.module_type * Tools_error.simple_module_type_lookup_error ] ] | `Parent_module of [< Tools_error.simple_module_lookup_error ] | `Parent_module_type of [< Tools_error.simple_module_type_lookup_error ] | `Parent_sig of [< `OpaqueModule | `UnexpandedTypeOf of Component.ModuleType.type_of_desc | `UnresolvedForwardPath | `UnresolvedPath of [ `Module of Cpath.module_ * Tools_error.simple_module_lookup_error | `ModuleType of Cpath.module_type * Tools_error.simple_module_type_lookup_error ] ] | `Parent_type of [< Tools_error.simple_type_lookup_error ] | `Reference of [< `Find_by_name of [< `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string | `Lookup_by_name of [< `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string | `Parent of Tools_error.parent_lookup_error | `Wrong_kind of Tools_error.reference_kind list * Tools_error.reference_kind ] | `UnexpandedTypeOf of Component.ModuleType.type_of_desc | `UnresolvedForwardPath | `UnresolvedPath of [< `Module of [< Cpath.module_ ] * [< Tools_error.simple_module_lookup_error ] | `ModuleType of [< Cpath.module_type ] * [< Tools_error.simple_module_type_lookup_error ] ] ] option -> kind option
Sourcetype what = [
  1. | `Functor_parameter of Odoc_model.Paths.Identifier.FunctorParameter.t
  2. | `Value of Odoc_model.Paths.Identifier.Value.t
  3. | `Value_path of Cpath.value
  4. | `Class of Odoc_model.Paths.Identifier.Class.t
  5. | `Class_type of Odoc_model.Paths.Identifier.ClassType.t
  6. | `Module of Odoc_model.Paths.Identifier.Module.t
  7. | `Module_type of Odoc_model.Paths.Identifier.Signature.t
  8. | `Module_path of Cpath.module_
  9. | `Constructor_path of Cpath.constructor
  10. | `Module_type_path of Cpath.module_type
  11. | `Module_type_U of Component.ModuleType.U.expr
  12. | `Include of Component.Include.decl
  13. | `Package of Cpath.module_type
  14. | `Type of Cfrag.type_
  15. | `Type_path of Cpath.type_
  16. | `Class_type_path of Cpath.class_type
  17. | `With_module of Cfrag.module_
  18. | `With_module_type of Cfrag.module_type
  19. | `With_type of Cfrag.type_
  20. | `Module_type_expr of Component.ModuleType.expr
  21. | `Module_type_u_expr of Component.ModuleType.U.expr
  22. | `Child_module of string
  23. | `Child_page of string
  24. | `Reference of Odoc_model.Paths.Reference.t
]
Sourceval report : what:what -> ?tools_error: [< `ApplyNotFunctor | `Class_replaced | `Find_failure | `Fragment_root | `Local of Env.t * [< Ident.path_module ] & Env.t * [< Ident.path_module ] | `LocalConstructor of Env.t * [< Ident.constructor ] & Env.t * [< Ident.constructor ] | `LocalDataType of Env.t * [< Ident.datatype ] & Env.t * [< Ident.datatype ] | `LocalMT of Env.t * [< Ident.module_type ] & Env.t * [< Ident.module_type ] | `LocalType of Env.t * [< Ident.path_type ] & Env.t * [< Ident.path_type ] | `LocalValue of Env.t * [< Ident.value ] & Env.t * [< Ident.value ] | `Lookup_failure of [< Odoc_model.Paths.Identifier.Path.Module.t_pv ] Odoc_model.Paths.Identifier.id & [< Odoc_model.Paths.Identifier.Path.Module.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureC of [< Odoc_model.Paths.Identifier.Constructor.t_pv ] Odoc_model.Paths.Identifier.id & [< Odoc_model.Paths.Identifier.Constructor.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureMT of [< Odoc_model.Paths.Identifier.ModuleType.t_pv ] Odoc_model.Paths.Identifier.id & [< Odoc_model.Paths.Identifier.ModuleType.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureT of [< Odoc_model.Paths.Identifier.Path.Type.t_pv ] Odoc_model.Paths.Identifier.id & [< Odoc_model.Paths.Identifier.Path.Type.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failureV of [< Odoc_model.Paths.Identifier.Value.t_pv ] Odoc_model.Paths.Identifier.id & [< Odoc_model.Paths.Identifier.Value.t_pv ] Odoc_model.Paths.Identifier.id | `Lookup_failure_root of string | `OpaqueClass | `OpaqueModule | `Parent of [< Tools_error.parent_lookup_error ] & [< Tools_error.parent_lookup_error ] | `ParentC of [< Tools_error.simple_datatype_lookup_error ] & [< Tools_error.simple_datatype_lookup_error ] | `Parent_expr of [< `ApplyNotFunctor | `OpaqueModule | `Parent of Tools_error.parent_lookup_error | `UnresolvedForwardPath | `UnresolvedPath of [ `Module of Cpath.module_ * Tools_error.simple_module_lookup_error | `ModuleType of Cpath.module_type * Tools_error.simple_module_type_lookup_error ] ] & [< `ApplyNotFunctor | `OpaqueModule | `Parent of Tools_error.parent_lookup_error | `UnresolvedForwardPath | `UnresolvedPath of [ `Module of Cpath.module_ * Tools_error.simple_module_lookup_error | `ModuleType of Cpath.module_type * Tools_error.simple_module_type_lookup_error ] ] | `Parent_module of [< Tools_error.simple_module_lookup_error ] & [< Tools_error.simple_module_lookup_error ] | `Parent_module_type of [< Tools_error.simple_module_type_lookup_error ] & [< Tools_error.simple_module_type_lookup_error ] | `Parent_sig of [< `OpaqueModule | `UnexpandedTypeOf of Component.ModuleType.type_of_desc | `UnresolvedForwardPath | `UnresolvedPath of [ `Module of Cpath.module_ * Tools_error.simple_module_lookup_error | `ModuleType of Cpath.module_type * Tools_error.simple_module_type_lookup_error ] ] & [< `OpaqueModule | `UnexpandedTypeOf of Component.ModuleType.type_of_desc | `UnresolvedForwardPath | `UnresolvedPath of [ `Module of Cpath.module_ * Tools_error.simple_module_lookup_error | `ModuleType of Cpath.module_type * Tools_error.simple_module_type_lookup_error ] ] | `Parent_type of [< Tools_error.simple_type_lookup_error ] & [< Tools_error.simple_type_lookup_error ] | `Reference of [< `Find_by_name of [< `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string | `Lookup_by_name of [< `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string | `Parent of Tools_error.parent_lookup_error | `Wrong_kind of Tools_error.reference_kind list * Tools_error.reference_kind ] & [< `Find_by_name of [< `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string | `Lookup_by_name of [< `Any | `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] * string | `Parent of Tools_error.parent_lookup_error | `Wrong_kind of Tools_error.reference_kind list * Tools_error.reference_kind ] | `UnexpandedTypeOf of Component.ModuleType.type_of_desc | `UnresolvedForwardPath | `UnresolvedPath of [< `Module of [< Cpath.module_ ] * [< Tools_error.simple_module_lookup_error ] | `ModuleType of [< Cpath.module_type ] * [< Tools_error.simple_module_type_lookup_error ] ] & [< `Module of [< Cpath.module_ ] * [< Tools_error.simple_module_lookup_error ] | `ModuleType of [< Cpath.module_type ] * [< Tools_error.simple_module_type_lookup_error ] ] ] -> [< `Compile | `Expand | `Lookup | `Resolve | `Resolve_module_type ] -> unit