class Grafana::PanelDoesNotExistError
Raised if a given panel does not exist on a specific {Dashboard} in the current {Grafana} instance.
Public Class Methods
new(panel_id, dashboard)
click to toggle source
@param panel_id [String] panel id, which could not be found on the dashboard @param dashboard [Dashboard] dashboard object on which the panel could not be found
Calls superclass method
Grafana::GrafanaError::new
# File lib/grafana/errors.rb, line 23 def initialize(panel_id, dashboard) super("The specified panel id '#{panel_id}' does not exist on the dashboard '#{dashboard.id}'.") end