OCamlPro/ocp-get — comment on commit b78b6c198e3218c7b4b523b98a48ce8f9bb81bb6
File: src/file.ml line 183
By samoht:

It is not a good idea to put default values here, you should either let the exceptions escape or fail with a well-defined error message. Missing "package" and "version" fields are errors and should be reported properly to the user.