Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Errors.
Extensible error type. When adding a new constructor, do not forget to register a printer with register_string_of_error
.
exception Error of error
val error : error -> 'a
val string_of_error_funs : (error -> string option) list Stdlib.ref
val register_string_of_error : (error -> string option) -> unit
val string_of_error : error -> string
val pp : Stdlib.Format.formatter -> error -> unit