package transom

  1. Overview
  2. Docs
OCaml sidecar glue for Tauri-style desktop apps

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a6aa17a9cab249e390f574553bc22620
sha512=56ac775c6b61fc45488795f2658fcfcbf380427f9477e94d6d69770a6df288851f266fb026d27696ba579caa37386404e4059fa2d2218b23e8b1e5c59cd9994b

doc/transom.runtime/Transom_runtime/Error/index.html

Module Transom_runtime.ErrorSource

Sourcetype t = {
  1. code : string;
  2. message : string;
  3. data : Yojson.Safe.t option;
}
Sourceval make : ?data:??? -> string -> string -> t
Sourceval unknown_method : string -> t
Sourceval bad_request : string -> t
Sourceval invalid_json : string -> t
Sourceval protocol_error : string -> t
Sourceval internal_error : string -> t
Sourceval to_yojson : t -> [> `Assoc of (string * Yojson.Safe.t) list ]
Sourceval of_yojson : [> `Assoc of (string * Yojson.Safe.t) list ] -> (t, string) result