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
//! Structured error types for public API boundaries.
//!
//! Use thiserror for APIs consumed by other crates, enabling:
//! - Precise error matching (e.g. retry on NotFound, abort on PathEscape)
//! - Clear error messages without losing context
//! - Automatic conversion to anyhow via `?` in caller code
use Error;
// ── Path validation errors ───────────────────────────────────────────────────
/// Errors from path validation operations.
///
/// Used by `get_allowed_root`, `validate_path_under_root`, `validate_skill_path`.