Module Eliom.Client_value

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 Client.server_function fails (in Lwt) on the server side.

The argument describes the original exception by Printexc.to_string.

Event handlers like Content.Html.F.a_onclick may raise False to cancel the event (as if the JavaScript function returned false).

exception False