| 83 | } |
| 84 | |
| 85 | absl::Status YamlError(absl::string_view yaml, const YAML::Node& node, |
| 86 | absl::string_view error) { |
| 87 | return absl::InvalidArgumentError( |
| 88 | FormatYamlErrorMessage(yaml, error, node.Mark())); |
| 89 | } |
| 90 | |
| 91 | std::string GetString(absl::string_view yaml, const YAML::Node& node) { |
| 92 | if (!node.IsDefined() || !node.IsScalar()) { |
no test coverage detected