Merge pull request #2947 from lucas-clemente/h3-message-error

add the H3_MESSAGE_ERROR
This commit is contained in:
Marten Seemann
2020-12-22 16:47:47 +07:00
committed by GitHub

View File

@@ -23,6 +23,7 @@ const (
errorRequestRejected errorCode = 0x10b
errorRequestCanceled errorCode = 0x10c
errorRequestIncomplete errorCode = 0x10d
errorMessageError errorCode = 0x10e
errorConnectError errorCode = 0x10f
errorVersionFallback errorCode = 0x110
)
@@ -57,6 +58,8 @@ func (e errorCode) String() string {
return "H3_REQUEST_CANCELLED"
case errorRequestIncomplete:
return "H3_INCOMPLETE_REQUEST"
case errorMessageError:
return "H3_MESSAGE_ERROR"
case errorConnectError:
return "H3_CONNECT_ERROR"
case errorVersionFallback: