+raise_error (augeas_t t, const char *msg)
+{
+ const int code = aug_error (t);
+
+ if (code == AUG_ENOMEM)
+ caml_raise_out_of_memory ();
+
+ caml_raise_with_string (*caml_named_value ("Augeas.Error"), msg);
+}
+
+static void
+raise_init_error (const char *msg)