|
@@ -104,17 +104,6 @@ func (uat ErrUnsupportedAddressType) Error() string {
|
|
// InvalidParameter denotes the type of this error
|
|
// InvalidParameter denotes the type of this error
|
|
func (uat ErrUnsupportedAddressType) InvalidParameter() {}
|
|
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
|
|
// InvalidNetworkIDError is returned when the passed
|
|
// network id for an existing network is not a known id.
|
|
// network id for an existing network is not a known id.
|
|
type InvalidNetworkIDError string
|
|
type InvalidNetworkIDError string
|