limitExceeded method
Reject the running decode as DecodeStatus.limitExceeded from inside a callback — the receiver-cap counterpart of invalidate.
A configured receiver limit (CORELIB_PLAN §6.2.1) is not a statement
about the bytes: they are well-formed, and the same message decodes for a
receiver configured more loosely. §6.2.1 therefore forbids folding a
breach into INVALID, and §6.3 keeps LimitExceeded distinct.
The decoder never raises it. The numbers are generated code's
(§6.2.1: "the visitor decides. The codec never invents a limit of its own
and never clamps to one"), so this is the channel every receiver cap is
reported through: a string's length or an array's count from the header
call, and a wrapper array's element index — the array's length
(MESSAGE_SPEC §5.1) — where the elements are collected (lib/src/seq.dart).
Safe from any depth. It never returns normally.
Implementation
void limitExceeded() => throw const _LimitExceeded();