package fred

  1. Overview
  2. Docs
type api_error = {
  1. error_code : int;
  2. error_message : string;
}

Type of returned API error

val pp_api_error : Ppx_deriving_runtime.Format.formatter -> api_error -> Ppx_deriving_runtime.unit
val show_api_error : api_error -> Ppx_deriving_runtime.string
OCaml

Innovation. Community. Security.