Skip to content

Commit b4395aa

Browse files
committed
httpev: keep Args.Bad exception
1 parent 254a26b commit b4395aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

httpev.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,8 @@ module type Args = sig
713713

714714
val req : request
715715

716+
exception Bad of string
717+
716718
val get : string -> string option
717719
(** Get optional parameter. @return None if parameter is missing *)
718720

@@ -737,7 +739,7 @@ end
737739
(** functor version of {!Param} because somebody thought it is good idea *)
738740
module Args(T : sig val req : request end) : Args =
739741
struct
740-
open Param
742+
include Param
741743
let req = T.req
742744
let get = get req
743745
let get_int = get_int req

0 commit comments

Comments
 (0)