add the H3_MESSAGE_ERROR

This commit is contained in:
Marten Seemann 2020-12-21 12:04:29 +07:00
parent 9693a46d31
commit 8a84201ce4

View file

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