Source File
errors.go
Belonging Package
github.com/pion/datachannel
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage datachannelimportvar (// ErrDataChannelMessageTooShort means that the data isn't long enough to be a valid DataChannel messageErrDataChannelMessageTooShort = errors.New("DataChannel message is not long enough to determine type")// ErrInvalidPayloadProtocolIdentifier means that we got a DataChannel messages with a Payload Protocol Identifier// we don't know how to handleErrInvalidPayloadProtocolIdentifier = errors.New("DataChannel message Payload Protocol Identifier is value we can't handle")// ErrInvalidChannelType means that the remote requested a channel type that we don't supportErrInvalidChannelType = errors.New("invalid Channel Type")// ErrInvalidMessageType is returned when a DataChannel Message has a type we don't supportErrInvalidMessageType = errors.New("invalid Message Type")// ErrExpectedAndActualLengthMismatch is when the declared length and actual length don't matchErrExpectedAndActualLengthMismatch = errors.New("expected and actual length do not match")// ErrUnexpectedDataChannelType is when a message type does not match the expected typeErrUnexpectedDataChannelType = errors.New("expected and actual message type does not match"))
![]() |
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. |