document the range of valid values for error codes

This commit is contained in:
Marten Seemann
2019-06-14 17:40:51 +08:00
parent 147181786a
commit 1f4e63aff6
2 changed files with 2 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ type Token struct {
}
// An ErrorCode is an application-defined error code.
// Valid values range between 0 and MAX_UINT62.
type ErrorCode = protocol.ApplicationErrorCode
// Stream is the interface implemented by QUIC streams