File: errors.go

package info (click to toggle)
golang-github-pion-mdns-v2 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 260 kB
  • sloc: makefile: 6
file content (14 lines) | stat: -rw-r--r-- 511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT

package mdns

import "errors"

var (
	errJoiningMulticastGroup = errors.New("mDNS: failed to join multicast group")
	errConnectionClosed      = errors.New("mDNS: connection is closed")
	errContextElapsed        = errors.New("mDNS: context has elapsed")
	errNilConfig             = errors.New("mDNS: config must not be nil")
	errFailedCast            = errors.New("mDNS: failed to cast listener to UDPAddr")
)