give the ocaml function names on the ocaml side in case of an error