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

Module Eliom_common

module Eliom_common: sig..end

Low level functions for Eliom, exceptions and types.


exception Eliom_404

Page not found

exception Eliom_Wrong_parameter

Service called with wrong parameter names

exception Eliom_Session_expired

exception Eliom_Typing_Error of (string * exn) list

The service (GET or POST) parameters do not match expected type

exception Eliom_function_forbidden_outside_site_loading of string

That function cannot be used like that outside the initialisation phase. For some functions, you must add the ~sp parameter during a session.

If present and true in request data, it means that the previous coservice does not exist any more

val eliom_service_session_expired : string list Polytables.key

If present in request data, means that the service session cookies does not exist any more. The string lists are the list of names of expired sessions