rejectSection<
E>(sections,tag,factories,detail):void
Defined in: packages/wire/src/guards.ts:112
Reject an artifact carrying a section its layout forbids.
Type Parameters
Section titled “Type Parameters”E extends KnotkitError
Parameters
Section titled “Parameters”sections
Section titled “sections”readonly WireSection[]
number
factories
Section titled “factories”detail
Section titled “detail”string
Returns
Section titled “Returns”void
Throws
Section titled “Throws”The package-owned invalid-section-geometry error.