Lines Matching refs:errors

39 void DebugOptions::CheckOptions(std::vector<std::string>* errors,
43 errors->push_back("Inspector is not available when Node is compiled "
49 errors->push_back("[DEP0062]: `node --debug` and `node --debug-brk` "
65 errors->push_back("--inspect-publish-uid destination can be "
71 void PerProcessOptions::CheckOptions(std::vector<std::string>* errors,
75 errors->push_back("either --use-openssl-ca or --use-bundled-ca can be "
82 errors->push_back("--secure-heap must be a power of 2");
90 errors->push_back("--secure-heap-min must be a power of 2");
97 errors->push_back("invalid value for --use-largepages");
99 per_isolate->CheckOptions(errors, argv);
102 void PerIsolateOptions::CheckOptions(std::vector<std::string>* errors,
104 per_env->CheckOptions(errors, argv);
107 void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors,
110 errors->push_back("--policy-integrity requires "
114 errors->push_back("--policy-integrity cannot be empty");
119 errors->push_back("--input-type must be \"module\" or \"commonjs\"");
125 errors->push_back("--experimental-default-type must be "
133 errors->push_back(
139 errors->push_back("either --check or --eval can be used, not both");
148 errors->push_back("invalid value for --unhandled-rejections");
152 errors->push_back("either --tls-min-v1.3 or --tls-max-v1.2 can be "
157 errors->push_back("--heapsnapshot-near-heap-limit must not be negative");
162 errors->push_back("either --test or --check can be used, not both");
166 errors->push_back("either --test or --eval can be used, not both");
170 errors->push_back("either --test or --interactive can be used, not both");
174 errors->push_back(
185 errors->push_back("either --watch or --check can be used, not both");
187 errors->push_back("either --watch or --eval can be used, not both");
189 errors->push_back("either --watch or --interactive "
192 errors->push_back("--watch requires specifying a file");
203 errors->push_back("--cpu-prof-name must be used with --cpu-prof");
206 errors->push_back("--cpu-prof-dir must be used with --cpu-prof");
211 errors->push_back("--cpu-prof-interval must be used with --cpu-prof");
221 errors->push_back("--heap-prof-name must be used with --heap-prof");
224 errors->push_back("--heap-prof-dir must be used with --heap-prof");
229 errors->push_back("--heap-prof-interval must be used with --heap-prof");
237 debug_options_.CheckOptions(errors, argv);
279 OptionEnvvarSettings required_env_settings, StringVector* const errors) {
281 args, exec_args, v8_args, options, required_env_settings, errors);
294 OptionEnvvarSettings required_env_settings, StringVector* const errors) {
296 args, exec_args, v8_args, options, required_env_settings, errors);
304 OptionEnvvarSettings required_env_settings, StringVector* const errors) {
306 args, exec_args, v8_args, options, required_env_settings, errors);
900 "generate diagnostic report on fatal (internal) errors",
1008 std::vector<std::string>* errors) {
1015 errors->push_back(" must be 0 or in range 1024 to 65535.");
1021 std::vector<std::string>* errors) {
1037 return HostPort { "", ParseAndValidatePort(arg, errors) };
1041 ParseAndValidatePort(arg.substr(colon + 1), errors) };
1308 const std::string& node_options, std::vector<std::string>* errors) {
1319 errors->push_back("invalid value for NODE_OPTIONS "
1342 errors->push_back("invalid value for NODE_OPTIONS "