Method: Grafana::ImageCouldNotBeRenderedError#initialize

Defined in:
lib/grafana/errors.rb

#initialize(panel) ⇒ ImageCouldNotBeRenderedError

Returns a new instance of ImageCouldNotBeRenderedError.

[View source]

54
55
56
57
58
# File 'lib/grafana/errors.rb', line 54

def initialize(panel)
  super("The specified panel '#{panel.id}' from dashboard '#{panel.dashboard.id}' could not be "\
    'rendered to an image. Check if rendering is possible manually by selecting "Share" and then '\
    '"Direct link rendered image" from a panel\'s options menu.')
end