valueError method
Implementation
ConfigException valueError(String key, String message) {
final node = map.nodes[key] ?? _keyNode(key) ?? map;
return ConfigException(
'${keyPath(key)}: $message',
span: SourceSpanLike.of(node),
file: file,
);
}