Ocamlformat_rpcSourceval format :
Ocamlformat.Syntax.t ->
Ocamlformat.Conf.t ->
Ocamlformat_stdlib.string ->
(Ocamlformat_stdlib.string, Ocamlformat.Translation_unit.Error.t)
Ocamlformat_stdlib.Result.tval run_config :
Ocamlformat.Conf.t ->
(Ocamlformat_stdlib.string * Ocamlformat_stdlib.string) list ->
(Ocamlformat.Conf.t, [> `Config_error of Ocamlformat.Config_option.Error.t ])
Ocamlformat_stdlib.resultval run_path :
Ocamlformat_stdlib.string ->
(Ocamlformat.Conf.t, [> `Path_error of Ocamlformat_stdlib.string ])
Ocamlformat_stdlib.resultval run_format :
Ocamlformat.Conf.t ->
Ocamlformat_stdlib.string ->
([> `Format of Ocamlformat_stdlib.string ], [> `Format_error of string ])
Ocamlformat_stdlib.resultval run_format_with_args :
Rpc.format_args ->
Ocamlformat.Conf.t ->
Ocamlformat_stdlib.string ->
([> `Format of Ocamlformat_stdlib.string ],
[> `Config_error of Ocamlformat.Config_option.Error.t
| `Format_error of string
| `Path_error of Ocamlformat_stdlib.string ])
Ocamlformat_stdlib.Result.tval handle_format_error :
'a ->
(Ocamlformat_stdlib.Out_channel.t -> [> `Error of 'a ] -> 'b) ->
'bval handle_path_error :
'a ->
(Ocamlformat_stdlib.Out_channel.t -> [> `Error of 'a ] -> 'b) ->
'bval handle_config_error :
Ocamlformat.Config_option.Error.t ->
(Ocamlformat_stdlib.Out_channel.t -> [> `Error of string ] -> 'a) ->
'aval handle_error :
[< `Config_error of Ocamlformat.Config_option.Error.t
| `Format_error of string
| `Path_error of string ] ->
(Ocamlformat_stdlib.Out_channel.t -> [> `Error of string ] -> 'a) ->
'a