mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
945f015770
* backend/datasources: move datasources models into the datasources service pkg
14 lines
727 B
Go
14 lines
727 B
Go
package datasources
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrDataSourceNotFound = errors.New("data source not found")
|
|
ErrDataSourceNameExists = errors.New("data source with the same name already exists")
|
|
ErrDataSourceUidExists = errors.New("data source with the same uid already exists")
|
|
ErrDataSourceUpdatingOldVersion = errors.New("trying to update old version of datasource")
|
|
ErrDataSourceAccessDenied = errors.New("data source access denied")
|
|
ErrDataSourceFailedGenerateUniqueUid = errors.New("failed to generate unique datasource ID")
|
|
ErrDataSourceIdentifierNotSet = errors.New("unique identifier and org id are needed to be able to get or delete a datasource")
|
|
)
|