pub fn alloc_error<'a, A, Err>( cr: &'a mut OCamlRuntime, err: OCamlRef<'_, Err>, ) -> OCaml<'a, Result<A, Err>>