Make.RPC_answer
type 'o t = [
|
`Ok of 'o
|
`OkStream of 'o stream
|
`Created of string option
|
`No_content
|
`Forbidden of Error_monad.error list option
|
`Not_found of Error_monad.error list option
|
`Conflict of Error_monad.error list option
|
`Error of Error_monad.error list option
]
Return type for service handler
val fail : Error_monad.error list -> 'a t Lwt.t