Lines Matching refs:error
17 // Tests error handling within requestOnConnect
18 // - NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE (should emit session error)
19 // - NGHTTP2_ERR_INVALID_ARGUMENT (should emit stream error)
20 // - every other NGHTTP2 error from binding (should emit session error)
30 error: {
40 error: {
55 error: {
68 // Mock submitRequest because we only care about testing error handling
85 const errorMustCall = common.expectsError(test.error);
87 `${test.error.code} should emit on ${test.type}`
91 client.on('error', errorMustNotCall);
92 req.on('error', errorMustCall);
94 client.on('error', errorMustCall);
95 req.on('error', (err) => {