Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + type ErrorCode uint64 + const AEADLimitReached + const ApplicationError + const ConnectionIDLimitError + const ConnectionRefused + const CryptoBufferExceeded + const FinalSizeError + const FlowControlError + const FrameEncodingError + const InternalError + const InvalidToken + const KeyUpdateError + const NoError + const NoViablePathError + const ProtocolViolation + const StreamLimitError + const StreamStateError + const TransportParameterError + func (e ErrorCode) Error() string + func (e ErrorCode) Message() string + func (e ErrorCode) String() string + type QuicError struct + ErrorCode ErrorCode + ErrorMessage string + FrameType uint64 + func NewApplicationError(errorCode ErrorCode, errorMessage string) *QuicError + func NewCryptoError(tlsAlert uint8, errorMessage string) *QuicError + func NewError(errorCode ErrorCode, errorMessage string) *QuicError + func NewErrorWithFrameType(errorCode ErrorCode, frameType uint64, errorMessage string) *QuicError + func NewTimeoutError(errorMessage string) *QuicError + func ToQuicError(err error) *QuicError + func (e *QuicError) Error() string + func (e *QuicError) IsApplicationError() bool + func (e *QuicError) IsCryptoError() bool + func (e *QuicError) Temporary() bool + func (e *QuicError) Timeout() bool