Source File
errors.go
Belonging Package
github.com/pion/turn/v4/internal/client
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage clientimport ()var (errFake = errors.New("fake error")errTryAgain = errors.New("try again")errClosed = errors.New("use of closed network connection")errTCPAddrCast = errors.New("addr is not a TCP address")errUDPAddrCast = errors.New("addr is not a UDP address")errAlreadyClosed = errors.New("already closed")errDoubleLock = errors.New("try-lock is already locked")errTransactionClosed = errors.New("transaction closed")errWaitForResultOnNonResultTransaction = errors.New("WaitForResult called on non-result transaction")errFailedToBuildRefreshRequest = errors.New("failed to build refresh request")errFailedToRefreshAllocation = errors.New("failed to refresh allocation")errFailedToGetLifetime = errors.New("failed to get lifetime from refresh response")errInvalidTURNAddress = errors.New("invalid TURN server address")errUnexpectedSTUNRequestMessage = errors.New("unexpected STUN request message"))type timeoutError struct {msg string}func newTimeoutError( string) error {return &timeoutError{msg: ,}}func ( *timeoutError) () string {return .msg}func ( *timeoutError) () bool {return true}
![]() |
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. |