//! Construction-time errors for [`crate::Swdir`] / [`crate::FilterRule`].
//!
//! Kept small and focused on *building* the walker. Runtime I/O problems
//! encountered during [`crate::Swdir::walk`] are surfaced through
//! [`crate::WalkReport::errors`], not through this type.
use Error;
/// Errors returned by builder-style constructors and validators.
///
/// `DuplicateExtensionList` from 0.9 is intentionally gone: in 0.10
/// allowlist / denylist are plain [`crate::FilterRule`] variants that
/// callers can stack freely — the old "can't have both at once" rule
/// no longer applies, so the error it produced is obsolete.