grafana/pkg/apimachinery/identity/error.go
2024-08-09 18:20:24 +03:00

15 lines
418 B
Go

package identity
import (
"errors"
"github.com/grafana/grafana/pkg/apimachinery/errutil"
)
var (
ErrInvalidIDType = errutil.BadRequest("auth.identity.invalid-id-type")
ErrInvalidTypedID = errutil.BadRequest("auth.identity.invalid-typed-id")
ErrNotIntIdentifier = errors.New("identifier is not an int64")
ErrIdentifierNotInitialized = errors.New("identifier is not initialized")
)