throwOnLimitExceeded property

bool throwOnLimitExceeded
final

When true, exceeding limits throws instead of applying a soft cap.

This applies to: • parameter count over parameterLimit, • list growth beyond listLimit, and • (in combination with strictDepth) exceeding depth.

Note: even when listLimit is negative (numeric‑index parsing disabled), any list‑growth path (empty‑bracket pushes like a[], comma splits when comma is true, or nested pushes) will immediately throw a RangeError.

Implementation

final bool throwOnLimitExceeded;