Lines Matching refs:InvalidArgumentError
149 var InvalidArgumentError = class _InvalidArgumentError extends UndiciError { class
276 InvalidArgumentError, property
300 var { InvalidArgumentError } = require_errors();
5659 InvalidArgumentError
5689 throw new InvalidArgumentError("interceptor must be an function");
5704 throw new InvalidArgumentError("invalid callback");
5747 throw new InvalidArgumentError("invalid callback");
5788 throw new InvalidArgumentError("handler must be an object");
5792 throw new InvalidArgumentError("opts must be an object.");
5803 throw new InvalidArgumentError("invalid onError method");
6145 InvalidArgumentError,
6188 throw new InvalidArgumentError("path must be a string");
6190 throw new InvalidArgumentError("path must be an absolute URL or start with a slash");
6192 throw new InvalidArgumentError("invalid request path");
6195 throw new InvalidArgumentError("method must be a string");
6197 throw new InvalidArgumentError("invalid request method");
6200 throw new InvalidArgumentError("upgrade must be a string");
6203 throw new InvalidArgumentError("invalid headersTimeout");
6206 throw new InvalidArgumentError("invalid bodyTimeout");
6209 throw new InvalidArgumentError("invalid reset");
6212 throw new InvalidArgumentError("invalid expectContinue");
6233 …throw new InvalidArgumentError("body must be a string, a Buffer, a Readable stream, an iterable, o…
6250 throw new InvalidArgumentError("headers array must be even");
6262 throw new InvalidArgumentError("headers must be an object or an array");
6266 … throw new InvalidArgumentError("Form-Data bodies are only supported in node v16.8 and newer.");
6361 throw new InvalidArgumentError("headers array must be even");
6373 throw new InvalidArgumentError("headers must be an object or an array");
6394 throw new InvalidArgumentError(`invalid ${key} header`);
6398 throw new InvalidArgumentError(`invalid ${key} header`);
6405 throw new InvalidArgumentError(`invalid ${key} header`);
6411 throw new InvalidArgumentError(`invalid ${key} header`);
6417 throw new InvalidArgumentError("invalid content-length header");
6426 throw new InvalidArgumentError("invalid transfer-encoding header");
6430 throw new InvalidArgumentError("invalid connection header");
6435 throw new InvalidArgumentError("invalid keep-alive header");
6437 throw new InvalidArgumentError("invalid upgrade header");
6441 throw new InvalidArgumentError("invalid header key");
6473 var { InvalidArgumentError, ConnectTimeoutError } = require_errors();
6526 throw new InvalidArgumentError("maxCachedSessions must be a positive integer or zero");
6970 var { InvalidArgumentError } = require_errors();
6988 throw new InvalidArgumentError("maxRedirections must be a positive number");
7154 InvalidArgumentError,
7289 throw new InvalidArgumentError("unsupported keepAlive, use pipelining=0 instead");
7292 …throw new InvalidArgumentError("unsupported socketTimeout, use headersTimeout & bodyTimeout instea…
7295 …throw new InvalidArgumentError("unsupported requestTimeout, use headersTimeout & bodyTimeout inste…
7298 throw new InvalidArgumentError("unsupported idleTimeout, use keepAliveTimeout instead");
7301 …throw new InvalidArgumentError("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");
7304 throw new InvalidArgumentError("invalid maxHeaderSize");
7307 throw new InvalidArgumentError("invalid socketPath");
7310 throw new InvalidArgumentError("invalid connectTimeout");
7313 throw new InvalidArgumentError("invalid keepAliveTimeout");
7316 throw new InvalidArgumentError("invalid keepAliveMaxTimeout");
7319 throw new InvalidArgumentError("invalid keepAliveTimeoutThreshold");
7322 throw new InvalidArgumentError("headersTimeout must be a positive integer or zero");
7325 throw new InvalidArgumentError("bodyTimeout must be a positive integer or zero");
7328 throw new InvalidArgumentError("connect must be a function or an object");
7331 throw new InvalidArgumentError("maxRedirections must be a positive number");
7334 throw new InvalidArgumentError("maxRequestsPerClient must be a positive number");
7337 throw new InvalidArgumentError("localAddress must be valid string IP address");
7340 throw new InvalidArgumentError("maxResponseSize must be a positive number");
7343 … throw new InvalidArgumentError("autoSelectFamilyAttemptTimeout must be a positive number");
7346 throw new InvalidArgumentError("allowH2 must be a valid boolean value");
7349 …throw new InvalidArgumentError("maxConcurrentStreams must be a possitive integer, greater than 0");
8875 InvalidArgumentError
8902 throw new InvalidArgumentError("invalid connections");
8905 throw new InvalidArgumentError("factory must be a function.");
8908 throw new InvalidArgumentError("connect must be a function or an object");
8948 var { InvalidArgumentError } = require_errors();
8971 throw new InvalidArgumentError("factory must be a function.");
8974 throw new InvalidArgumentError("connect must be a function or an object");
8977 throw new InvalidArgumentError("maxRedirections must be a positive number");
9026 throw new InvalidArgumentError("opts.origin must be a non-empty string or URL.");
9067 var { InvalidArgumentError } = require_errors();
9074 throw new InvalidArgumentError("Argument agent must implement Agent");