blob: 929992745e56580ec2cecf7a69749cda81ee0918 [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")
)