Module Bindoj_apidir_runtime.Utils

include module type of struct include Utils.Exceptions end
exception Bad_request of string
exception Unrecognized_route of string
val bad_request : ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
type backtrace_info = [
  1. | `ocaml_backtrace of Stdlib.Printexc.raw_backtrace
  2. | `string_stacktrace of string
]
module type IoStyle = Utils.IoStyle

exceptions thrown in executing second argument of bind is expected to be caught and could be retrieved using extract_error

val pp_backtrace_info : Stdlib.Format.formatter -> [< `ocaml_backtrace of Stdlib.Printexc.raw_backtrace | `string_stacktrace of string ] -> unit
val pp_jv : Stdlib.Format.formatter -> Kxclib.Json.jv -> unit