type golang.org/x/net/http2.ErrCode
51 uses
golang.org/x/net/http2 (current package)
errors.go#L13: type ErrCode uint32
errors.go#L16: ErrCodeNo ErrCode = 0x0
errors.go#L17: ErrCodeProtocol ErrCode = 0x1
errors.go#L18: ErrCodeInternal ErrCode = 0x2
errors.go#L19: ErrCodeFlowControl ErrCode = 0x3
errors.go#L20: ErrCodeSettingsTimeout ErrCode = 0x4
errors.go#L21: ErrCodeStreamClosed ErrCode = 0x5
errors.go#L22: ErrCodeFrameSize ErrCode = 0x6
errors.go#L23: ErrCodeRefusedStream ErrCode = 0x7
errors.go#L24: ErrCodeCancel ErrCode = 0x8
errors.go#L25: ErrCodeCompression ErrCode = 0x9
errors.go#L26: ErrCodeConnect ErrCode = 0xa
errors.go#L27: ErrCodeEnhanceYourCalm ErrCode = 0xb
errors.go#L28: ErrCodeInadequateSecurity ErrCode = 0xc
errors.go#L29: ErrCodeHTTP11Required ErrCode = 0xd
errors.go#L32: var errCodeName = map[ErrCode]string{
errors.go#L49: func (e ErrCode) String() string {
errors.go#L56: func (e ErrCode) stringToken() string {
errors.go#L65: type ConnectionError ErrCode
errors.go#L67: func (e ConnectionError) Error() string { return fmt.Sprintf("connection error: %s", ErrCode(e)) }
errors.go#L73: Code ErrCode
errors.go#L82: func streamError(id uint32, code ErrCode) StreamError {
errors.go#L110: Code ErrCode // the ConnectionError error code
frame.go#L583: func (fr *Framer) connError(code ErrCode, reason string) error {
frame.go#L936: ErrCode ErrCode
frame.go#L961: ErrCode: ErrCode(binary.BigEndian.Uint32(p[4:8])),
frame.go#L966: func (f *Framer) WriteGoAway(maxStreamID uint32, code ErrCode, debugData []byte) error {
frame.go#L1374: ErrCode ErrCode
frame.go#L1386: return &RSTStreamFrame{fh, ErrCode(binary.BigEndian.Uint32(p[:4]))}, nil
frame.go#L1393: func (f *Framer) WriteRSTStream(streamID uint32, code ErrCode) error {
server.go#L407: func (sc *serverConn) rejectConn(err ErrCode, debug string) {
server.go#L468: goAwayCode ErrCode
server.go#L1342: func (sc *serverConn) goAway(code ErrCode) {
server.go#L1417: sc.goAway(ErrCode(ev))
server.go#L3200: var code ErrCode
server.go#L3204: code = ErrCode(e)
server.go#L3207: code = ErrCode(e.Code)
transport.go#L1763: cc.fr.WriteGoAway(0, ErrCode(ce), nil)
transport.go#L1850: errCode := ErrCode(ce)
transport.go#L2693: func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, ping bool, err error) {
transport_common.go#L419: ErrCode ErrCode
write.go#L88: code ErrCode
google.golang.org/grpc/internal/transport
client_stream.go#L104: rstCode http2.ErrCode
controlbuf.go#L140: rstCode http2.ErrCode
controlbuf.go#L201: code http2.ErrCode
http2_client.go#L139: goAwayCode http2.ErrCode
http2_client.go#L946: func (t *http2Client) closeStream(s *ClientStream, err error, rst bool, rstCode http2.ErrCode, st *status.Status, mdata map[string][]string, eosReceived bool) {
http2_server.go#L1328: func (t *http2Server) finishStream(s *ServerStream, rst bool, rstCode http2.ErrCode, hdr *headerFrame, eosReceived bool) {
http2_server.go#L1352: func (t *http2Server) closeStream(s *ServerStream, rst bool, rstCode http2.ErrCode, eosReceived bool) {
http_util.go#L54: http2ErrConvTab = map[http2.ErrCode]codes.Code{
transport.go#L756: GoAwayCode http2.ErrCode