expose a VersionNegoationError

This commit is contained in:
Marten Seemann 2021-04-25 19:03:34 +07:00
parent 42b61729bd
commit 1ce572228b
5 changed files with 47 additions and 24 deletions

View file

@ -1,10 +1,16 @@
package quic
import "github.com/lucas-clemente/quic-go/internal/qerr"
import (
"github.com/lucas-clemente/quic-go/internal/qerr"
)
type (
TransportError = qerr.TransportError
ApplicationError = qerr.ApplicationError
VersionNegotiationError = qerr.VersionNegotiationError
)
type (
TransportError = qerr.TransportError
ApplicationError = qerr.ApplicationError
TransportErrorCode = qerr.TransportErrorCode
ApplicationErrorCode = qerr.ApplicationErrorCode
)