Up

Module Envelope_status

Signature

type envelope_id = string
type rejected_recipients = (Types.Email_address.t * Types.Reply.t) list
type err = [
| `Rejected_sender of Types.Reply.t
| `No_recipients of rejected_recipients
| `Rejected_sender_and_recipients of Types.Reply.t * rejected_recipients
| `Rejected_body of Types.Reply.t * rejected_recipients
]
val sexp_of_err : err -> Sexplib.Sexp.t
type t = (ok, err) Core.Std.Result.t
val sexp_of_t : t -> Sexplib.Sexp.t
val to_string : t -> string
val ok_or_error : allow_rejected_recipients:bool -> t -> string Core.Std.Or_error.t
val ok_exn : allow_rejected_recipients:bool -> t -> string