Exception: GrafanaReporter::DatasourceNotSupportedError
- Inherits:
-
GrafanaReporterError
- Object
- StandardError
- GrafanaReporterError
- GrafanaReporter::DatasourceNotSupportedError
- Defined in:
- lib/grafana_reporter/errors.rb
Overview
Raised if a datasource shall be queried, which is not (yet) supported by the reporter
Instance Method Summary collapse
-
#initialize(datasource, query) ⇒ DatasourceNotSupportedError
constructor
A new instance of DatasourceNotSupportedError.
Constructor Details
#initialize(datasource, query) ⇒ DatasourceNotSupportedError
Returns a new instance of DatasourceNotSupportedError.
13 14 15 16 |
# File 'lib/grafana_reporter/errors.rb', line 13 def initialize(datasource, query) super("The datasource '#{datasource.name}' is of type '#{datasource.type}' which is currently "\ "not supported for the query type '#{query}'.") end |