Exception: GrafanaReporter::DatasourceNotSupportedError

Inherits:
GrafanaReporterError show all
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

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