Skip to content
module@warp-drive/utilities/handlers

Function assertInvalidUrlLength() ​

ts
function assertInvalidUrlLength(url: string | undefined): void;

Defined in: -private/handlers/utils.ts:85

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 ​

string | undefined

Returns ​

void

Released under the MIT License.