fn resolve_block_name(
header_name: Option<&str>,
payload_name: &Option<String>,
block_kind: &str,
) -> Result<String, ConfigError>Expand description
Resolves the name of a fence block from the optional header name and the optional payload name field. The header name takes precedence when present; if both are provided, a conflict error is returned. If neither is provided, a missing-name error is returned.