Skip to content

Documentation / @ember-data/request-utils / handlers / assertInvalidUrlLength

Function: assertInvalidUrlLength()

ts
function assertInvalidUrlLength(url): void;

Defined in: warp-drive-packages/utilities/declarations/-private/handlers/utils.d.ts:32

This assertion takes a URL and throws an error if the URL is longer than the maximum URL length.

See also MAX_URL_LENGTH

Parameters

url

undefined | string

Returns

void

Released under the MIT License.