You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package zones
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
|
|
|
// ErrInvalidName indicates the name isn't valid
|
|
|
|
ErrInvalidName = errors.New("invalid name")
|
|
|
|
|
|
|
|
// ErrUnknownNode indicates there is a reference to a node
|
|
|
|
// we don't have on the tree
|
|
|
|
ErrUnknownNode = errors.New("node does not exist")
|
|
|
|
|
|
|
|
// ErrInvalidNode indicates the nodes can't be used for
|
|
|
|
// the intended purpose
|
|
|
|
ErrInvalidNode = errors.New("invalid node")
|
|
|
|
)
|