Skip to main content

require_resolved_path

Function require_resolved_path 

Source
pub fn require_resolved_path(
    ctx: &ToolContext,
    args: &Map<String, Value>,
    key: &str,
) -> Result<String, ErrorData>
Expand description

Extract a resolved path from context with differentiated error messages. Returns descriptive errors for: missing param, PathJail rejection, wrong type.