(type, code)
| 9195 | } |
| 9196 | __name(onError, "onError"); |
| 9197 | function onFrameError(type, code) { |
| 9198 | const stream = this; |
| 9199 | const state = stream[kRequestStreamState]; |
| 9200 | stream.off("frameError", onFrameError); |
| 9201 | state.abort(new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`)); |
| 9202 | } |
| 9203 | __name(onFrameError, "onFrameError"); |
| 9204 | function onAborted() { |
| 9205 | this.off("data", onData); |