Alejandro Mery
1 year ago
4 changed files with 62 additions and 16 deletions
@ -0,0 +1,16 @@
|
||||
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") |
||||
) |
Loading…
Reference in new issue