Home
last modified time | relevance | path

Searched refs:InvalidArgumentError (Results 1 – 25 of 45) sorted by relevance

12

/third_party/node/deps/undici/src/lib/core/
Drequest.js4 InvalidArgumentError,
68 throw new InvalidArgumentError('path must be a string')
74 throw new InvalidArgumentError('path must be an absolute URL or start with a slash')
76 throw new InvalidArgumentError('invalid request path')
80 throw new InvalidArgumentError('method must be a string')
82 throw new InvalidArgumentError('invalid request method')
86 throw new InvalidArgumentError('upgrade must be a string')
90 throw new InvalidArgumentError('invalid headersTimeout')
94 throw new InvalidArgumentError('invalid bodyTimeout')
98 throw new InvalidArgumentError('invalid reset')
[all …]
Derrors.js65 class InvalidArgumentError extends UndiciError { class
68 Error.captureStackTrace(this, InvalidArgumentError)
205 InvalidArgumentError, property
Dconnect.js6 const { InvalidArgumentError, ConnectTimeoutError } = require('./errors')
76 throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero')
/third_party/node/deps/undici/src/lib/mock/
Dmock-interceptor.js12 const { InvalidArgumentError } = require('../core/errors')
28 throw new InvalidArgumentError('waitInMs must be a valid integer > 0')
48 throw new InvalidArgumentError('repeatTimes must be a valid integer > 0')
62 throw new InvalidArgumentError('opts must be an object')
65 throw new InvalidArgumentError('opts.path must be defined')
104 throw new InvalidArgumentError('statusCode must be defined')
107 throw new InvalidArgumentError('data must be defined')
110 throw new InvalidArgumentError('responseOptions must be an object')
130 throw new InvalidArgumentError('reply options callback must return an object')
165 throw new InvalidArgumentError('error must be defined')
[all …]
Dmock-agent.js19 const { InvalidArgumentError, UndiciError } = require('../core/errors')
43 throw new InvalidArgumentError('Argument opts.agent must implement Agent')
91 throw new InvalidArgumentError('Unsupported matcher. Must be one of String|Function|RegExp.')
Dmock-client.js17 const { InvalidArgumentError } = require('../core/errors')
27 throw new InvalidArgumentError('Argument opts.agent must implement Agent')
Dmock-pool.js17 const { InvalidArgumentError } = require('../core/errors')
27 throw new InvalidArgumentError('Argument opts.agent must implement Agent')
/third_party/node/deps/undici/src/lib/
Ddispatcher-base.js7 InvalidArgumentError
44 throw new InvalidArgumentError('interceptor must be an function')
62 throw new InvalidArgumentError('invalid callback')
113 throw new InvalidArgumentError('invalid callback')
163 throw new InvalidArgumentError('handler must be an object')
168 throw new InvalidArgumentError('opts must be an object.')
182 throw new InvalidArgumentError('invalid onError method')
Dproxy-agent.js8 const { InvalidArgumentError, RequestAbortedError } = require('./core/errors')
28 throw new InvalidArgumentError('Proxy opts.uri is mandatory')
55 throw new InvalidArgumentError('Proxy opts.uri is mandatory')
61 throw new InvalidArgumentError('Proxy opts.clientFactory must be a function.')
69 throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token')
183 throw new InvalidArgumentError('Proxy-Authorization should be sent in ProxyAgent constructor')
Dpool.js12 InvalidArgumentError
42 throw new InvalidArgumentError('invalid connections')
46 throw new InvalidArgumentError('factory must be a function.')
50 throw new InvalidArgumentError('connect must be a function or an object')
Dagent.js3 const { InvalidArgumentError } = require('./core/errors')
32 throw new InvalidArgumentError('factory must be a function.')
36 throw new InvalidArgumentError('connect must be a function or an object')
40 throw new InvalidArgumentError('maxRedirections must be a positive number')
101 throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.')
Dclient.js18 InvalidArgumentError,
168 throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')
172 …throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instea…
176 …throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout inste…
180 throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead')
184 … throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead')
188 throw new InvalidArgumentError('invalid maxHeaderSize')
192 throw new InvalidArgumentError('invalid socketPath')
196 throw new InvalidArgumentError('invalid connectTimeout')
200 throw new InvalidArgumentError('invalid keepAliveTimeout')
[all …]
Dglobal.js6 const { InvalidArgumentError } = require('./core/errors')
15 throw new InvalidArgumentError('Argument agent must implement Agent')
/third_party/node/deps/undici/src/lib/api/
Dapi-request.js5 InvalidArgumentError,
16 throw new InvalidArgumentError('invalid opts')
23 throw new InvalidArgumentError('invalid callback')
27 throw new InvalidArgumentError('invalid highWaterMark')
31 throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
35 throw new InvalidArgumentError('invalid method')
39 throw new InvalidArgumentError('invalid onInfo callback')
Dapi-stream.js5 InvalidArgumentError,
17 throw new InvalidArgumentError('invalid opts')
24 throw new InvalidArgumentError('invalid callback')
28 throw new InvalidArgumentError('invalid factory')
32 throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
36 throw new InvalidArgumentError('invalid method')
40 throw new InvalidArgumentError('invalid onInfo callback')
Dapi-pipeline.js9 InvalidArgumentError,
65 throw new InvalidArgumentError('invalid opts')
69 throw new InvalidArgumentError('invalid handler')
75 throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
79 throw new InvalidArgumentError('invalid method')
83 throw new InvalidArgumentError('invalid onInfo callback')
Dapi-connect.js3 const { InvalidArgumentError, RequestAbortedError, SocketError } = require('../core/errors')
11 throw new InvalidArgumentError('invalid opts')
15 throw new InvalidArgumentError('invalid callback')
21 throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
Dapi-upgrade.js3 const { InvalidArgumentError, RequestAbortedError, SocketError } = require('../core/errors')
12 throw new InvalidArgumentError('invalid opts')
16 throw new InvalidArgumentError('invalid callback')
22 throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
/third_party/node/test/fixtures/postject-copy/node_modules/commander/
Dindex.js3 const { CommanderError, InvalidArgumentError } = require('./lib/error.js');
25 exports.InvalidArgumentError = InvalidArgumentError;
26 exports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
Derror.js30 class InvalidArgumentError extends CommanderError { class
45 exports.InvalidArgumentError = InvalidArgumentError;
Dargument.js1 const { InvalidArgumentError } = require('./error.js');
103 throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(', ')}.`);
Doption.js1 const { InvalidArgumentError } = require('./error.js');
180 throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(', ')}.`);
/third_party/node/deps/undici/src/
Dindex.js10 const { InvalidArgumentError } = errors
55 throw new InvalidArgumentError('invalid url')
59 throw new InvalidArgumentError('invalid opts')
64 throw new InvalidArgumentError('invalid opts.path')
84 throw new InvalidArgumentError('unsupported opts.agent. Did you mean opts.client?')
/third_party/node/deps/undici/
Dundici.js149 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");
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatusor_test.cc491 status_or_foo = absl::InvalidArgumentError("msg"); in TEST()
506 status_or = absl::InvalidArgumentError("msg"); in TEST()
744 absl::StatusOr<bool>(absl::InvalidArgumentError(""))}, in TEST()
753 absl::StatusOr<ConvertibleToBool>(absl::InvalidArgumentError(""))}, in TEST()
828 absl::InvalidArgumentError("foo"); in TEST()
852 absl::InvalidArgumentError("foo"); in TEST()
908 absl::StatusOr<absl::any> status_error = absl::InvalidArgumentError("foo"); in TEST()
937 absl::StatusOr<absl::any> status_error = absl::InvalidArgumentError("foo"); in TEST()
990 status_or = absl::InvalidArgumentError("foo"); in TEST()
1527 absl::StatusOr<int>(absl::InvalidArgumentError("msg")), in TEST()
[all …]

12