remove the INVALID_MIGRATION error

This commit is contained in:
Marten Seemann 2019-11-23 11:36:13 +07:00
parent 2265513b2d
commit 973bcf6dcd

View file

@ -22,7 +22,6 @@ const (
TransportParameterError ErrorCode = 0x8
VersionNegotiationError ErrorCode = 0x9
ProtocolViolation ErrorCode = 0xa
InvalidMigration ErrorCode = 0xc
CryptoBufferExceeded ErrorCode = 0xd
)
@ -70,8 +69,6 @@ func (e ErrorCode) String() string {
return "VERSION_NEGOTIATION_ERROR"
case ProtocolViolation:
return "PROTOCOL_VIOLATION"
case InvalidMigration:
return "INVALID_MIGRATION"
case CryptoBufferExceeded:
return "CRYPTO_BUFFER_EXCEEDED"
default: