Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_client_value

module Eliom_client_value : sig..end

Client and shared values

See the manual .


type 'a t = 'a

An 'a client value on the client is just an 'a. See also the abstract representation on the server .

exception Exception_on_server of string

This exception is raised (in Lwt) on the client if a call to a server function Eliom_client.server_function fails (in Lwt) on the server side.

The argument describes the original exception by Printexc.to_string.

Event handlers like Error a_api: exception Dune__exe__Api.Error("invalid contents: Eliom_content.Html.F.a_onclick") may raise False to cancel the event (as if the JavaScript function returned false).

exception False