Function is_unknown_property_error
pub fn is_unknown_property_error(e: &Error, name: &str) -> boolExpand description
True when e is exactly the “Unknown property” marker produced by the
Configurable derive’s set_prop/get_prop fallback (and by
prop_name_to_serde_field in this module) for the specific property
name the caller just tried. Namespace-sharing nested delegation sites
(serde-flatten, Option<T>, dotted-key candidate loops) use it to tell
“not one of mine — keep trying siblings” apart from a real value error
on a confirmed path.
Both constructors build the error as exactly Unknown property '{name}' via anyhow::Error::msg(String), so the downcast is the
typed identity check and still works through anyhow context layers.
Display text alone is not sufficient: a different error type can render
the same message but must not be mistaken for this fall-through marker and
silently swallowed as a retry.