Skip to content

Commit 907a650

Browse files
committed
Add getter for Http3ErrorCode.code
1 parent 36406e2 commit 907a650

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/io/netty/incubator/codec/http3/Http3ErrorCode.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,8 @@ public enum Http3ErrorCode {
126126
Http3ErrorCode(int code) {
127127
this.code = code;
128128
}
129+
130+
public int getCode() {
131+
return code;
132+
}
129133
}

0 commit comments

Comments
 (0)