Skip to main content

validate

Function validate 

Source
pub async fn validate(inv: &Invocation<'_>, plan: &str) -> Result<()>
Expand description

Validate a plan through the host’s urn:plan:validate, under the publisher’s capability. A plan that does not conform is refused with InvalidArgument on content, naming every shape (or executor check) it broke, the node, and the shape’s message.