diff --git a/qerr/quic_error.go b/qerr/quic_error.go index 42d08c4c5..4a90b5784 100644 --- a/qerr/quic_error.go +++ b/qerr/quic_error.go @@ -5,7 +5,7 @@ import ( ) // ErrorCode can be used as a normal error without reason. -type ErrorCode uint32 +type ErrorCode uint16 func (e ErrorCode) Error() string { return e.String()