MCPcopy Create free account
hub / github.com/angular/angular / throwBodyTooLargeError

Function throwBodyTooLargeError

packages/common/http/src/fetch.ts:469–475  ·  view source on GitHub ↗
(maxResponseSize: number)

Source from the content-addressed store, hash-verified

467}
468
469function throwBodyTooLargeError(maxResponseSize: number): never {
470 throw new RuntimeError(
471 RuntimeErrorCode.FETCH_RESPONSE_BODY_TOO_LARGE,
472 ngDevMode &&
473 `Fetch response body exceeded the configured buffer limit (${maxResponseSize} bytes).`,
474 );
475}
476
477const CHARSET_REGEX = /charset=\s*["']?([^;"'\s]+)["']?/i;
478

Callers 1

doRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected