Skip to main content

child_path

Function child_path 

Source
pub fn child_path(parent: &str, segment: &str) -> Result<String, AppError>
Expand description

Build a child path under parent by appending a single segment. The segment must be one valid identifier — it cannot itself contain a separator (else it would silently add several levels) — and the resulting path must validate (depth included).

Thin wrapper over vta_sdk::context_path::child_path mapping the SDK error onto AppError::Validation (message preserved verbatim).