package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. error : string list;
  2. warning : string list;
  3. success : string list;
  4. info : string list;
}
val equal : t -> t -> Ppx_deriving_runtime.bool
val to_yojson : t -> Yojson.Safe.t
val empty : t
val set_success : string list -> t -> t
val set_warning : string list -> t -> t
val set_error : string list -> t -> t
val set_info : string list -> t -> t
val get_error : t -> string list
val get_warning : t -> string list
val get_success : t -> string list
val get_info : t -> string list
val ctx_key : t Sihl__.Core_ctx.key
val ctx_add : t -> Sihl__.Core_ctx.t -> Sihl__.Core_ctx.t
val get : Sihl__.Core_ctx.t -> t option
OCaml

Innovation. Community. Security.