package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.09.0

Install

Dune Dependency

Authors

Maintainers

Sources

4.09.0.tar.gz
sha256=a7bc044167e7d09f8e3ea84b88ec9d81392908ecdac861d3d5015e5f0fc496a3
md5=76ac39570fc88b16fda2a94db7cd5cf3

doc/odoc_info/Odoc_info/Exception/index.html

Module Odoc_info.Exception

Representation and manipulation of exceptions.

type exception_alias = Odoc_exception.exception_alias = {
  1. ea_name : Name.t;
    (*

    The complete name of the target exception.

    *)
  2. mutable ea_ex : t_exception option;
    (*

    The target exception, if we found it.

    *)
}

Used when the exception is a rebind of another exception, when we have exception Ex = Target_ex.

and t_exception = Odoc_exception.t_exception = {
  1. ex_name : Name.t;
  2. mutable ex_info : info option;
    (*

    Information found in the optional associated comment.

    *)
  3. ex_args : Odoc_type.constructor_args;
  4. ex_ret : Types.type_expr option;
    (*

    The optional return type of the exception.

    *)
  5. ex_alias : exception_alias option;
    (*

    None when the exception is not a rebind.

    *)
  6. mutable ex_loc : location;
  7. mutable ex_code : string option;
}
OCaml

Innovation. Community. Security.