package transom

  1. Overview
  2. Docs
OCaml backend/application logic for desktop WebView apps

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
md5=4d0b0117994a250dd343bbc03f65acf5
sha512=629a5e39f3b142ff0391bbcab6a193480d07d04b3a101da85693778dae6539f48b48bc5c36cf24ed4a920da26bab2b9c955d2bb2a5c43fc3dcaec137523a7527

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