isTooLargeError
function isTooLargeError(error?: unknown): boolean;Whether an error from these helpers was a size-cap rejection — the one failure worth treating as permanent (skip the document) rather than transient (retry next run).
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
error? | unknown | Whatever was thrown; anything else answers false. |
Returns
Section titled “Returns”boolean
True for the permanent “too large” condition.