Merge pull request #2234 from lucas-clemente/remove-invalid-migration-error

remove the INVALID_MIGRATION error
This commit is contained in:
Marten Seemann
2019-11-24 21:42:59 +07:00
committed by GitHub

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: