mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
e4d998dc1a
* Rename package to satokengen to make it clearer that it is for service account tokens
15 lines
270 B
Go
15 lines
270 B
Go
package satokengen
|
|
|
|
import "github.com/grafana/grafana/pkg/components/apikeygen"
|
|
|
|
type ErrInvalidApiKey struct {
|
|
}
|
|
|
|
func (e *ErrInvalidApiKey) Error() string {
|
|
return "invalid API key"
|
|
}
|
|
|
|
func (e *ErrInvalidApiKey) Unwrap() error {
|
|
return apikeygen.ErrInvalidApiKey
|
|
}
|