Module Errors.Tools_errorSource

Errors raised by Tools

Sourcetype handle_subs_error = [
  1. | `UnresolvedPath of [ `Module of Cpath.module_ ]
]
Sourcetype reference_kind = [
  1. | `S
  2. | `T
  3. | `C
  4. | `CT
  5. | `Page
  6. | `Cons
  7. | `Field
  8. | `Label
]
Sourcetype expansion_of_module_error = [
  1. | `OpaqueModule
  2. | `UnresolvedForwardPath
  3. | `UnresolvedPath of [ `Module of Cpath.module_ * simple_module_lookup_error | `ModuleType of Cpath.module_type * simple_module_type_lookup_error ]
  4. | `UnexpandedTypeOf of Component.ModuleType.type_of_desc
]
Sourceand simple_module_lookup_error = [
  1. | `Local of Env.t * Ident.path_module
  2. | `Find_failure
  3. | `Lookup_failure of Odoc_model.Paths.Identifier.Path.Module.t
  4. | `Lookup_failure_root of string
  5. | `Parent of parent_lookup_error
]
Sourceand simple_module_type_expr_of_module_error = [
  1. | `ApplyNotFunctor
  2. | `OpaqueModule
  3. | `UnresolvedForwardPath
  4. | `UnresolvedPath of [ `Module of Cpath.module_ * simple_module_lookup_error | `ModuleType of Cpath.module_type * simple_module_type_lookup_error ]
  5. | `Parent of parent_lookup_error
]
Sourceand simple_module_type_lookup_error = [
  1. | `LocalMT of Env.t * Ident.module_type
  2. | `Find_failure
  3. | `Lookup_failureMT of Odoc_model.Paths.Identifier.ModuleType.t
  4. | `Parent of parent_lookup_error
]
Sourceand simple_type_lookup_error = [
  1. | `LocalType of Env.t * Ident.path_type
  2. | `Class_replaced
  3. | `OpaqueClass
  4. | `Find_failure
  5. | `Lookup_failureT of Odoc_model.Paths.Identifier.Path.Type.t
  6. | `Parent of parent_lookup_error
]
Sourceand simple_datatype_lookup_error = [
  1. | `LocalDataType of Env.t * Ident.path_datatype
  2. | `Find_failure
  3. | `Lookup_failureT of Odoc_model.Paths.Identifier.Path.Type.t
  4. | `Parent of parent_lookup_error
]
Sourceand simple_value_lookup_error = [
  1. | `LocalValue of Env.t * Ident.path_value
  2. | `Find_failure
  3. | `Lookup_failureV of Odoc_model.Paths.Identifier.Path.Value.t
  4. | `Parent of parent_lookup_error
]
Sourceand simple_constructor_lookup_error = [
  1. | `LocalConstructor of Env.t * Ident.constructor
  2. | `Find_failure
  3. | `Lookup_failureC of Odoc_model.Paths.Identifier.Path.Constructor.t
  4. | `ParentC of simple_datatype_lookup_error
]
Sourceand parent_lookup_error = [
  1. | `Parent_sig of expansion_of_module_error
  2. | `Parent_module_type of simple_module_type_lookup_error
  3. | `Parent_expr of simple_module_type_expr_of_module_error
  4. | `Parent_module of simple_module_lookup_error
  5. | `Parent_type of simple_type_lookup_error
  6. | `Fragment_root
  7. | `Parent of parent_lookup_error
  8. | `Reference of reference_lookup_error
]
Sourceand reference_lookup_error = [
  1. | `Wrong_kind of reference_kind list * reference_kind
  2. | `Lookup_by_name of [ reference_kind | `Any ] * string
  3. | `Find_by_name of [ reference_kind | `Any ] * string
  4. | `Parent of parent_lookup_error
]
Sourceval pp_reference_kind : Format.formatter -> [< `C | `CT | `Cons | `Field | `Label | `Page | `S | `T ] -> unit
Sourceval pp : Format.formatter -> any -> unit
Sourceval pp_reference_lookup_error : Format.formatter -> reference_lookup_error -> unit