libnet/d/bridge: remove dead ActiveEndpointsError

This error is unused since docker/libnetwork@6b158eac6.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
Albin Kerouanton 2024-01-04 11:10:42 +01:00
parent 12c7411b6b
commit 0a26cdf344
No known key found for this signature in database
GPG key ID: 630B8E1DCBDB1864

View file

@ -104,17 +104,6 @@ func (uat ErrUnsupportedAddressType) Error() string {
// InvalidParameter denotes the type of this error
func (uat ErrUnsupportedAddressType) InvalidParameter() {}
// ActiveEndpointsError is returned when there are
// still active endpoints in the network being deleted.
type ActiveEndpointsError string
func (aee ActiveEndpointsError) Error() string {
return fmt.Sprintf("network %s has active endpoint", string(aee))
}
// Forbidden denotes the type of this error
func (aee ActiveEndpointsError) Forbidden() {}
// InvalidNetworkIDError is returned when the passed
// network id for an existing network is not a known id.
type InvalidNetworkIDError string