Exception: Grafana::DashboardDoesNotExistError

Inherits:
GrafanaError
  • Object
show all
Defined in:
lib/grafana/errors.rb

Overview

Raised if a given dashboard does not exist in a specific Grafana instance.

Instance Method Summary collapse

Constructor Details

#initialize(dashboard_uid) ⇒ DashboardDoesNotExistError

Returns a new instance of DashboardDoesNotExistError.

Parameters:

  • dashboard_uid (String)

    dashboard uid, which could not be found



14
15
16
# File 'lib/grafana/errors.rb', line 14

def initialize(dashboard_uid)
  super("The specified dashboard '#{dashboard_uid}' does not exist.")
end