blob: ca2df729f47e5959d498e57372581b915e81a860 [file] [log] [blame]
package subnets
import "fmt"
func err(str string) error {
return fmt.Errorf("%s", str)
}
var (
ErrNetworkIDRequired = err("A network ID is required")
ErrCIDRRequired = err("A valid CIDR is required")
ErrInvalidIPType = err("An IP type must either be 4 or 6")
ErrCIDRNotUpdatable = err("CIDR attributes cannot be updated")
ErrIPVersionNotUpdatable = err("IP Version attributes cannot be updated")
)