1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright (c) 2026 Mike Grier
//! Error taxonomy: the fatal crate error, and the per-entry error item surfaced in
//! the output stream rather than aborting the walk (D-53).
use Error;
/// A fatal error from query construction or submission.
///
/// Distinct from [`EntryError`], which reports a *per-entry* failure in the output
/// stream without aborting the walk (D-53).
/// A per-entry or per-subtree failure, surfaced as an item in the output stream
/// (D-53). It normally does not abort the walk — traversal continues past it. The one
/// exception is a *fatal* error (a root that cannot be enumerated): the engine wraps
/// it in this type, emits it, and then ends the stream with `TerminalReason::Failed`
/// (D-71), so a consumer should treat a following `Failed` terminal as "stop".