type golang.org/x/net/http2.ErrCode
49 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#L532: func (fr *Framer) connError(code ErrCode, reason string) error {
frame.go#L886: ErrCode ErrCode
frame.go#L911: ErrCode: ErrCode(binary.BigEndian.Uint32(p[4:8])),
frame.go#L916: func (f *Framer) WriteGoAway(maxStreamID uint32, code ErrCode, debugData []byte) error {
frame.go#L1208: ErrCode ErrCode
frame.go#L1220: return &RSTStreamFrame{fh, ErrCode(binary.BigEndian.Uint32(p[:4]))}, nil
frame.go#L1227: func (f *Framer) WriteRSTStream(streamID uint32, code ErrCode) error {
server.go#L543: func (sc *serverConn) rejectConn(err ErrCode, debug string) {
server.go#L598: goAwayCode ErrCode
server.go#L1418: func (sc *serverConn) goAway(code ErrCode) {
server.go#L1488: sc.goAway(ErrCode(ev))
server.go#L3221: var code ErrCode
server.go#L3225: code = ErrCode(e)
server.go#L3228: code = ErrCode(e.Code)
transport.go#L2122: cc.fr.WriteGoAway(0, ErrCode(ce), nil)
transport.go#L2131: ErrCode ErrCode
transport.go#L2195: errCode := ErrCode(ce)
transport.go#L2965: func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, err error) {
write.go#L87: code ErrCode
google.golang.org/grpc/internal/transport
controlbuf.go#L129: rstCode http2.ErrCode
controlbuf.go#L191: code http2.ErrCode
http2_client.go#L882: rstCode http2.ErrCode
http2_client.go#L891: func (t *http2Client) closeStream(s *Stream, err error, rst bool, rstCode http2.ErrCode, st *status.Status, mdata map[string][]string, eosReceived bool) {
http2_server.go#L1265: func (t *http2Server) finishStream(s *Stream, rst bool, rstCode http2.ErrCode, hdr *headerFrame, eosReceived bool) {
http2_server.go#L1289: func (t *http2Server) closeStream(s *Stream, rst bool, rstCode http2.ErrCode, eosReceived bool) {
http_util.go#L53: http2ErrConvTab = map[http2.ErrCode]codes.Code{