class Grafana::QueryLetterDoesNotExistError

Raised if a given query letter does not exist on a specific {Panel}.

Public Class Methods

new(query_letter, panel) click to toggle source

@param query_letter [String] query letter name, which could not be found on the panel @param panel [Panel] panel object on which the query could not be found

Calls superclass method Grafana::GrafanaError::new
# File lib/grafana/errors.rb, line 32
def initialize(query_letter, panel)
  super("The specified query '#{query_letter}' does not exist in the panel '#{panel.id}' "\
    "in dashboard '#{panel.dashboard}'.")
end