Skip to main content

shape

Function shape 

Source
pub fn shape(path: &[u8], problem: &str) -> PolicyIncomplete
Expand description

What: A shape problem with the incumbent’s message for a manifest. Why: Shape problems compare message for message with the incumbent’s ManifestShapeError.

In TS you’d write (pseudocode):

throw new ManifestShapeError(`${path} ${problem}`);