package activitypub

  1. Overview
  2. Docs

Errors.

type error = ..

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
OCaml

Innovation. Community. Security.