Exception: GrafanaReporter::UnsupportedSelectValueStatementError

Inherits:
GrafanaReporterError show all
Defined in:
lib/grafana_reporter/errors.rb

Overview

Thrown, if the value configuration in QueryValueQuery#select_value is invalid.

Instance Method Summary collapse

Constructor Details

#initialize(statement) ⇒ UnsupportedSelectValueStatementError

Returns a new instance of UnsupportedSelectValueStatementError.



85
86
87
88
# File 'lib/grafana_reporter/errors.rb', line 85

def initialize(statement)
  super("Unsupported 'select_value' specified in template file: '#{statement}'. Supported values are 'min', 'max', "\
        "'avg', 'sum', 'first', 'last'.")
end