Module Smart.Status

type 'ref t = private {
  1. result : (unit, string) Stdlib.result;
  2. commands : [ `FF of 'ref | `OK of 'ref | `ER of 'ref * string ] list;
}
val map : f:('a -> 'b) -> 'a t -> 'b t
val pp : string t Fmt.t
val to_result : 'ref t -> (unit, string) Stdlib.result
val v : ?err:string -> (('uid, 'ref) Commands.command, ('uid, 'ref) Commands.command * string) Stdlib.result list -> 'ref t