Module Errors.Tools_errorSource
Errors raised by Tools
Source
type reference_kind = [ | `S| `T| `C| `CT| `Page| `Cons| `Field| `UnboxedField| `Label| `Page_path| `Module_path| `Asset_path| `Any_path
]Source
type expansion_of_module_error = [ | `OpaqueModule| `UnresolvedForwardPath| `UnresolvedPath of [ `Module of Odoc_xref2.Cpath.module_ * Odoc_xref2.Errors.Tools_error.simple_module_lookup_error | `ModuleType of Odoc_xref2.Cpath.module_type * Odoc_xref2.Errors.Tools_error.simple_module_type_lookup_error ]| `UnresolvedOriginalPath of Odoc_xref2.Cpath.module_ * Odoc_xref2.Errors.Tools_error.simple_module_lookup_error
]Source
and simple_module_lookup_error = [ | `Local of Odoc_xref2.Env.t * Odoc_xref2.Ident.module_| `Find_failure| `Lookup_failure of Odoc_model.Paths.Identifier.Path.Module.t| `Lookup_failure_root of Odoc_model.Names.ModuleName.t| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
and simple_module_type_expr_of_module_error = [ | `ApplyNotFunctor| `OpaqueModule| `UnresolvedForwardPath| `UnresolvedPath of [ `Module of Odoc_xref2.Cpath.module_ * Odoc_xref2.Errors.Tools_error.simple_module_lookup_error | `ModuleType of Odoc_xref2.Cpath.module_type * Odoc_xref2.Errors.Tools_error.simple_module_type_lookup_error ]| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
and simple_module_type_lookup_error = [ | `LocalMT of Odoc_xref2.Env.t * Odoc_xref2.Ident.module_type| `Find_failure| `Lookup_failureMT of Odoc_model.Paths.Identifier.ModuleType.t| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
and simple_type_lookup_error = [ | `LocalType of Odoc_xref2.Env.t * Odoc_xref2.Ident.type_| `Class_replaced| `OpaqueClass| `Find_failure| `Lookup_failureT of Odoc_model.Paths.Identifier.Path.Type.t| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
and simple_value_lookup_error = [ | `LocalValue of Odoc_xref2.Env.t * Odoc_xref2.Ident.value| `Find_failure| `Lookup_failureV of Odoc_model.Paths.Identifier.Path.Value.t| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
and parent_lookup_error = [ | `Parent_sig of Odoc_xref2.Errors.Tools_error.expansion_of_module_error| `Parent_module_type of Odoc_xref2.Errors.Tools_error.simple_module_type_lookup_error| `Parent_expr of Odoc_xref2.Errors.Tools_error.simple_module_type_expr_of_module_error| `Parent_module of Odoc_xref2.Errors.Tools_error.simple_module_lookup_error| `Parent_type of Odoc_xref2.Errors.Tools_error.simple_type_lookup_error| `Fragment_root| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error| `Reference of Odoc_xref2.Errors.Tools_error.reference_lookup_error
]Source
and reference_lookup_error = [ | `Wrong_kind of Odoc_xref2.Errors.Tools_error.reference_kind list * Odoc_xref2.Errors.Tools_error.reference_kind| `Lookup_by_name of [ Odoc_xref2.Errors.Tools_error.reference_kind | `Any ] * string| `Find_by_name of [ Odoc_xref2.Errors.Tools_error.reference_kind | `Any ] * string| `Path_error of [ `Not_found | `Is_directory | `Wrong_kind of Odoc_xref2.Errors.Tools_error.path_kind list * Odoc_xref2.Errors.Tools_error.path_kind ] * Odoc_model.Paths.Reference.tag_hierarchy * string list| `Parent of Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
type any = [ | Odoc_xref2.Errors.Tools_error.simple_type_lookup_error| Odoc_xref2.Errors.Tools_error.simple_value_lookup_error| Odoc_xref2.Errors.Tools_error.simple_module_type_lookup_error| Odoc_xref2.Errors.Tools_error.simple_module_type_expr_of_module_error| Odoc_xref2.Errors.Tools_error.simple_module_lookup_error| Odoc_xref2.Errors.Tools_error.expansion_of_module_error| Odoc_xref2.Errors.Tools_error.parent_lookup_error
]Source
val pp_reference_kind :
Stdlib.Format.formatter ->
[< `Any_path
| `Asset_path
| `C
| `CT
| `Cons
| `Field
| `Label
| `Module_path
| `Page
| `Page_path
| `S
| `T
| `UnboxedField ] ->
unitSource
val pp_human_list :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a list ->
unitSource
val pp_path :
Stdlib.Format.formatter ->
([< `TAbsolutePath | `TCurrentPackage | `TRelativePath ] * string list) ->
unitSource
val pp_path_error :
Stdlib.Format.formatter ->
[< `Is_directory
| `Not_found
| `Wrong_kind of [< `Page | `Unit ] list * [< `Page | `Unit ] ] ->
[< `TAbsolutePath | `TCurrentPackage | `TRelativePath ] ->
string list ->
unitSource
val pp_reference_lookup_error :
Stdlib.Format.formatter ->
Odoc_xref2.Errors.Tools_error.reference_lookup_error ->
unit