Module Tzfunc.Rp

val let> : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val let|> : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t
val let>? : ('a, 'b) Stdlib.result Lwt.t -> ('c -> ('d, 'e) Stdlib.result Lwt.t) -> ('d, 'e) Stdlib.result Lwt.t
val let|>? : ('a, 'b) Stdlib.result Lwt.t -> ('a -> 'c) -> ('c, 'b) Stdlib.result Lwt.t
val let$ : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
val let|$ : ('a, 'b) Stdlib.result -> ('a -> 'c) -> ('c, 'b) Stdlib.result
val iter : ('a -> (unit, 'b) Stdlib.result Lwt.t) -> 'c list -> (unit, 'd) Stdlib.result Lwt.t
val fold : ('a -> 'b -> ('c, 'd) Stdlib.result Lwt.t) -> 'e -> 'f list -> ('g, 'h) Stdlib.result Lwt.t
val map : ('a -> ('b, 'c) Stdlib.result Lwt.t) -> 'd list -> ('e list, 'f) Stdlib.result Lwt.t
val cb : 'a Lwt.t -> ('b -> unit) option -> unit
val cbr : ?error:('a -> unit) -> ('b, 'c) Stdlib.result Lwt.t -> ('d -> unit) option -> unit
type slot_location = Stdlib.Printexc.location = {
  1. filename : string;
  2. line_number : int;
  3. start_char : int;
  4. end_char : int;
}
val slot_location_enc : slot_location Proto.Encoding.encoding
type info_exn = {
  1. exn_id : int;
  2. exn_name : string;
  3. exn_content : string;
  4. exn_location : slot_location option;
}
val info_exn : exn -> info_exn
type nonrec exn = exn
type nonrec error = [
  1. | `forge_error of string
  2. | `unexpected_operation_hash
  3. | `no_metadata
  4. | `http_error of int * string option
  5. | `node_error of Proto.node_error list
  6. | `unexpected_operation_bytes of Proto.hex * Proto.hex
  7. | `prepare_operation_error of string
  8. | `unknown_language
  9. | `not_a_bool of char * int
  10. | `int_too_long
  11. | `unexpected_tag of string * int
  12. | `no_case_matched of int option
  13. | `recursive_error
  14. | `wrong_michelson_type
  15. | `unknown_primitive of string option
  16. | `unknown_micheline_tag
  17. | `sign_exn of exn
  18. | `empty_bytes
  19. | `unknown_curve
  20. | `string_too_short
  21. | `unknown_prefix
  22. | `invalid_b58 of exn
  23. | `verify_exn of exn
  24. | `empty_operation_list
  25. | `unexpected_michelson
  26. | `unmacro_error
  27. | `generic of string * string
  28. | `destruct_exn of exn
  29. | `end_of_bytes of int
  30. | `operation_not_handled
]
val string_of_error : error -> string
val print_error : error -> unit