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.
17 lines
408 B
17 lines
408 B
1 year ago
|
package cluster
|
||
1 year ago
|
|
||
|
import "errors"
|
||
|
|
||
|
var (
|
||
|
// ErrInvalidName indicates the name isn't valid
|
||
|
ErrInvalidName = errors.New("invalid name")
|
||
1 year ago
|
|
||
|
// 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")
|
||
1 year ago
|
)
|