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.
16 lines
408 B
16 lines
408 B
package cluster |
|
|
|
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") |
|
)
|
|
|