-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy patherrors.go
More file actions
32 lines (18 loc) · 940 Bytes
/
errors.go
File metadata and controls
32 lines (18 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT
package opus
import "errors"
var (
errTooShortForTableOfContentsHeader = errors.New("packet is too short to contain table of contents header")
errUnsupportedFrameCode = errors.New("unsupported frame code")
errUnsupportedConfigurationMode = errors.New("unsupported configuration mode")
errInvalidSampleRate = errors.New("invalid sample rate")
errInvalidChannelCount = errors.New("invalid channel count")
errOutBufferTooSmall = errors.New("out isn't large enough")
errMalformedPacket = errors.New("malformed packet")
errBitrateOutOfRange = errors.New("bitrate out of range")
errInvalidComplexity = errors.New("invalid complexity")
errInvalidInputLength = errors.New("invalid input length")
errInvalidFrameSize = errors.New("invalid frame size")
errInvalidFrameByteBudget = errors.New("invalid frame byte budget")
)