pub fn shape(path: &[u8], problem: &str) -> PolicyIncompleteExpand 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}`);