type net/http/internal/http2.ConnectionError
59 uses
net/http/internal/http2 (current package)
errors.go#L66: type ConnectionError ErrCode
errors.go#L68: func (e ConnectionError) Error() string { return fmt.Sprintf("connection error: %s", ErrCode(e)) }
frame.go#L597: return ConnectionError(code)
frame.go#L787: return nil, ConnectionError(ErrCodeFrameSize)
frame.go#L798: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L803: return nil, ConnectionError(ErrCodeFrameSize)
frame.go#L811: return nil, ConnectionError(ErrCodeFlowControl)
frame.go#L922: return nil, ConnectionError(ErrCodeFrameSize)
frame.go#L926: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L964: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L968: return nil, ConnectionError(ErrCodeFrameSize)
frame.go#L1017: return nil, ConnectionError(ErrCodeFrameSize)
frame.go#L1029: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L1392: return nil, ConnectionError(ErrCodeFrameSize)
frame.go#L1396: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L1484: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L1506: return nil, ConnectionError(ErrCodeProtocol)
frame.go#L1812: return mh, ConnectionError(ErrCodeProtocol)
frame.go#L1824: return mh, ConnectionError(ErrCodeProtocol)
frame.go#L1828: return mh, ConnectionError(ErrCodeCompression)
frame.go#L1845: return mh, ConnectionError(ErrCodeCompression)
http2.go#L143: return ConnectionError(ErrCodeProtocol)
http2.go#L147: return ConnectionError(ErrCodeFlowControl)
http2.go#L151: return ConnectionError(ErrCodeProtocol)
http2.go#L155: return ConnectionError(ErrCodeProtocol)
server.go#L1419: case ConnectionError:
server.go#L1444: return sc.countError("first_settings", ConnectionError(ErrCodeProtocol))
server.go#L1484: return sc.countError("push_promise", ConnectionError(ErrCodeProtocol))
server.go#L1511: return sc.countError("ping_on_stream", ConnectionError(ErrCodeProtocol))
server.go#L1527: return sc.countError("stream_idle", ConnectionError(ErrCodeProtocol))
server.go#L1540: return sc.countError("bad_flow", ConnectionError(ErrCodeFlowControl))
server.go#L1563: return sc.countError("reset_idle_stream", ConnectionError(ErrCodeProtocol))
server.go#L1624: return sc.countError("ack_mystery", ConnectionError(ErrCodeProtocol))
server.go#L1632: return sc.countError("settings_big_or_dups", ConnectionError(ErrCodeProtocol))
server.go#L1675: return ConnectionError(ErrCodeProtocol)
server.go#L1697: return sc.countError("setting_win_size", ConnectionError(ErrCodeFlowControl))
server.go#L1719: return sc.countError("data_on_idle", ConnectionError(ErrCodeProtocol))
server.go#L1874: return sc.countError("headers_even", ConnectionError(ErrCodeProtocol))
server.go#L1902: return sc.countError("stream_went_down", ConnectionError(ErrCodeProtocol))
server.go#L2012: return sc.countError("dup_trailers", ConnectionError(ErrCodeProtocol))
server.go#L2259: return sc.countError("too_many_early_resets", ConnectionError(ErrCodeEnhanceYourCalm))
server.go#L3223: case ConnectionError:
transport.go#L1500: if ce, ok := err.(ConnectionError); ok {
transport.go#L1830: return 0, ConnectionError(ErrCodeFlowControl)
transport.go#L1943: if ce, ok := cc.readerErr.(ConnectionError); ok {
transport.go#L2044: if ce, ok := err.(ConnectionError); ok {
transport.go#L2101: return ConnectionError(ErrCodeProtocol)
transport.go#L2169: if _, ok := err.(ConnectionError); ok {
transport.go#L2362: return ConnectionError(ErrCodeProtocol)
transport.go#L2368: return ConnectionError(ErrCodeProtocol)
transport.go#L2373: return ConnectionError(ErrCodeProtocol)
transport.go#L2504: return ConnectionError(ErrCodeProtocol)
transport.go#L2518: return ConnectionError(ErrCodeFlowControl)
transport.go#L2558: return ConnectionError(ErrCodeFlowControl)
transport.go#L2751: return ConnectionError(ErrCodeProtocol)
transport.go#L2769: return ConnectionError(ErrCodeFlowControl)
transport.go#L2817: return ConnectionError(ErrCodeFlowControl)
transport.go#L2827: return ConnectionError(ErrCodeFlowControl)
transport.go#L2943: return ConnectionError(ErrCodeProtocol)