Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'o t = [
| `Ok of 'o
| `OkChunk of 'o
| `OkStream of 'o stream
| `Created of string option
| `No_content
| `Forbidden of Tezos_error_monad.Error_monad.error list option
| `Not_found of Tezos_error_monad.Error_monad.error list option
| `Conflict of Tezos_error_monad.Error_monad.error list option
| `Gone of Tezos_error_monad.Error_monad.error list option
| `Error of Tezos_error_monad.Error_monad.error list option
]
Return type for service handler
and 'a stream = 'a Resto_directory.Answer.stream = {
next : unit -> 'a option Lwt.t;
shutdown : unit -> unit;
}
val fail : Tezos_error_monad.Error_monad.error list -> 'a t Lwt.t