YAML: expose libyaml's errors