Source File
errors.go
Belonging Package
github.com/pion/dtls/v3/pkg/protocol/recordlayer
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MIT// Package recordlayer implements the TLS Record Layer https://tools.ietf.org/html/rfc5246#section-6package recordlayerimport ()var (// ErrInvalidPacketLength is returned when the packet length too small// or declared length do not match.ErrInvalidPacketLength = &protocol.TemporaryError{Err: errors.New("packet length and declared length do not match"), //nolint:goerr113}errBufferTooSmall = &protocol.TemporaryError{Err: errors.New("buffer is too small")} //nolint:goerr113errSequenceNumberOverflow = &protocol.InternalError{Err: errors.New("sequence number overflow")} //nolint:goerr113errUnsupportedProtocolVersion = &protocol.FatalError{Err: errors.New("unsupported protocol version")} //nolint:goerr113errInvalidContentType = &protocol.TemporaryError{Err: errors.New("invalid content type")} //nolint:goerr113)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |