mirror of
https://github.com/pion/ice.git
synced 2025-11-02 11:34:15 +08:00
Add support for renomination
This commit is contained in:
15
errors.go
15
errors.go
@@ -120,6 +120,21 @@ var (
|
||||
// ErrDetermineNetworkType indicates that the NetworkType was not able to be parsed.
|
||||
ErrDetermineNetworkType = errors.New("unable to determine networkType")
|
||||
|
||||
// ErrOnlyControllingAgentCanRenominate indicates that only controlling agent can renominate.
|
||||
ErrOnlyControllingAgentCanRenominate = errors.New("only controlling agent can renominate")
|
||||
|
||||
// ErrRenominationNotEnabled indicates that renomination is not enabled.
|
||||
ErrRenominationNotEnabled = errors.New("renomination is not enabled")
|
||||
|
||||
// ErrCandidatePairNotFound indicates that candidate pair was not found.
|
||||
ErrCandidatePairNotFound = errors.New("candidate pair not found")
|
||||
|
||||
// ErrInvalidNominationAttribute indicates an invalid nomination attribute type was provided.
|
||||
ErrInvalidNominationAttribute = errors.New("invalid nomination attribute type")
|
||||
|
||||
// ErrInvalidNominationValueGenerator indicates a nil nomination value generator was provided.
|
||||
ErrInvalidNominationValueGenerator = errors.New("nomination value generator cannot be nil")
|
||||
|
||||
errAttributeTooShortICECandidate = errors.New("attribute not long enough to be ICE candidate")
|
||||
errClosingConnection = errors.New("failed to close connection")
|
||||
errConnectionAddrAlreadyExist = errors.New("connection with same remote address already exists")
|
||||
|
||||
Reference in New Issue
Block a user