pub type ValidateFn<T> = fn(&T) -> Result<(), String>;
Post-parse validator. Runs after OptionType::parse succeeds and before commit; returning Err(_) cancels the set with that message.
OptionType::parse
Err(_)