Lines Matching refs:error2
9 const error2 = new Error('error2!');
10 error2.name = 'error2';
16 c.error(error2);
21 return promise_rejects_exactly(t, error2, writer.closed, 'the writable stream must be errored with error2')
38 c.error(error2);
43 return promise_rejects_exactly(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the writable stream\'s error').then(() => {
49 promise_rejects_exactly(t, error2, ws.getWriter().closed, 'the writable stream must be errored with error2')
79 c.error(error2);
91 promise_rejects_exactly(t, error2, ws.getWriter().closed, 'the writable stream must be errored with error2')
197 .then(ws => promise_rejects_exactly(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the writable stream\'s error'))