mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
19 lines
597 B
Go
19 lines
597 B
Go
package kindsys
|
|
|
|
import "errors"
|
|
|
|
// TODO consider rewriting with https://github.com/cockroachdb/errors
|
|
|
|
var (
|
|
// ErrValueNotExist indicates that a necessary CUE value did not exist.
|
|
ErrValueNotExist = errors.New("cue value does not exist")
|
|
|
|
// ErrValueNotAKind indicates that a provided CUE value is not any variety of
|
|
// Kind. This is almost always a user error - they oops'd and provided the
|
|
// wrong path, file, etc.
|
|
ErrValueNotAKind = errors.New("not a kind")
|
|
|
|
// ErrInvalidCUE indicates that the CUE representing the kind is invalid.
|
|
ErrInvalidCUE = errors.New("CUE syntax error")
|
|
)
|