Lines Matching refs:warning
49 // Emit 'unhandledRejection', but do not emit any warning.
170 // Generate the warning object early to get a good stack trace.
172 const warning = new Error('Promise rejection was handled ' +
174 warning.name = 'PromiseRejectionHandledWarning';
175 warning.id = uid;
176 ArrayPrototypePush(asyncHandledRejections, { promise, warning });
187 const warning = getErrorWithoutStack(
199 warning.stack = reason.stack;
214 process.emitWarning(warning);
218 // a warning to be emitted which requires the microtask and next tick
224 const { promise, warning } = ArrayPrototypeShift(asyncHandledRejections);
226 process.emitWarning(warning);