Exception: GrafanaReporter::GrafanaInstanceWithoutHostError
- Inherits:
-
GrafanaReporterError
- Object
- StandardError
- GrafanaReporterError
- GrafanaReporter::GrafanaInstanceWithoutHostError
- Defined in:
- lib/grafana_reporter/errors.rb
Overview
Thrown, if the requested grafana instance does not have the mandatory ‘host’ setting configured.
Instance Method Summary collapse
-
#initialize(instance) ⇒ GrafanaInstanceWithoutHostError
constructor
A new instance of GrafanaInstanceWithoutHostError.
Constructor Details
#initialize(instance) ⇒ GrafanaInstanceWithoutHostError
Returns a new instance of GrafanaInstanceWithoutHostError.
38 39 40 |
# File 'lib/grafana_reporter/errors.rb', line 38 def initialize(instance) super("Grafana instance '#{instance}' has been configured without mandatory 'host' setting.") end |