Expand description
Error type returned by the parser and the interpreter.
Every fallible API in this crate returns Result<T, ShapeError>. Variants
cover three broad failure classes:
- Parse failures —
ParseErrorcarries a human-readable message from the nom parser, including the offending input span. - Numeric / structural validation —
InvalidNumericValue,EmptySplit,InvalidFloatingSize,SplitOverflow,NoFloatingSlots,UnknownCompSelector,OffsetTooLarge,InvalidRoofAngle,InvalidAlignTargetare raised when a parsed grammar would produce geometry that isn’t well-defined. - DoS safety caps —
CapacityOverflowandDepthLimitExceededare returned when a grammar exceeds the engine’s bounded queue, terminal, op-count, identifier, or recursion limits rather than allowing unbounded resource use.
Enums§
- Shape
Error - All errors produced by the parser and the interpreter.