Exception: Grafana::DatasourceDoesNotExistError
- Inherits:
-
GrafanaError
- Object
- StandardError
- GrafanaError
- Grafana::DatasourceDoesNotExistError
- Defined in:
- lib/grafana/errors.rb
Overview
Raised if a given datasource does not exist in a specific Grafana instance.
Instance Method Summary collapse
-
#initialize(field, datasource_identifier) ⇒ DatasourceDoesNotExistError
constructor
A new instance of DatasourceDoesNotExistError.
Constructor Details
#initialize(field, datasource_identifier) ⇒ DatasourceDoesNotExistError
Returns a new instance of DatasourceDoesNotExistError.
43 44 45 |
# File 'lib/grafana/errors.rb', line 43 def initialize(field, datasource_identifier) super("Datasource with #{field} '#{datasource_identifier}' does not exist.") end |