Odoc_info.Exception
Representation and manipulation of exceptions.
type exception_alias = Odoc_exception.exception_alias = {
ea_name : Name.t;
The complete name of the target exception.
*)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 = {
ex_name : Name.t;
mutable ex_info : info option;
Information found in the optional associated comment.
*)ex_args : Odoc_type.constructor_args;
ex_ret : Types.type_expr option;
The optional return type of the exception.
*)ex_alias : exception_alias option;
None
when the exception is not a rebind.
mutable ex_loc : location;
mutable ex_code : string option;
}