class GrafanaReporter::DatasourceRequestInvalidReturnValueError
Raised if the return value of a datasource request does not match the expected return hash.
Public Class Methods
new(datasource, message)
click to toggle source
Calls superclass method
GrafanaReporter::GrafanaReporterError::new
# File lib/grafana_reporter/errors.rb, line 29 def initialize(datasource, message) super("The datasource request to '#{datasource.name}' (#{datasource.class})"\ "returned an invalid value: '#{message}'") end