|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2-resend 13/30] libxl: ocaml: propagate the libxl return error code in exceptions
Rob Hoes writes ("[Xen-devel] [PATCH v2-resend 13/30] libxl: ocaml: propagate
the libxl return error code in exceptions"):
> -(* @@LIBXL_TYPES@@ *)
> +type error =
> + Nonspecific |
> + Version |
> + Fail |
> + Ni |
> + Nomem |
> + Inval |
> + Badfail |
> + Guest_Timedout |
> + Timedout |
> + Noparavirt |
> + Not_Ready |
> + Osevent_Reg_Fail |
> + Bufferfull |
> + Unknown_Child
I'm afraid that you'll have to make the libxl error type an enum,
first, to avoid duplicating (pentuplicating(!)) all this. Otherwise
it's fine...
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |