cfg_add_cause
cfg_add_cause("%s: %s", path, strerror(errno));
cfg_add_cause("%s", pr->error);
cfg_add_cause("%s:%u: %s", file, line, msg);