Exception: GrafanaReporter::MalformedReplaceValuesStatementError

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

Overview

Thrown, if the value configuration in AbstractQuery#replace_values is invalid.

Instance Method Summary collapse

Constructor Details

#initialize(statement) ⇒ MalformedReplaceValuesStatementError

Returns a new instance of MalformedReplaceValuesStatementError.



76
77
78
79
# File 'lib/grafana_reporter/errors.rb', line 76

def initialize(statement)
  super("The specified replace_values statement '#{statement}' is invalid. Make sure it contains"\
        " exactly one not escaped ':' symbol.")
end