Skip to main content

validate

Function validate 

Source
pub fn validate(
    machines: &[RawMachine],
    contracts: &[Contract],
) -> (bool, Vec<LoadError>)
Expand description

Fully validate a set of machine definitions (the first is the root). Returns the list of errors (empty => valid).