Exception: GrafanaReporter::MissingMandatoryAttributeError

Inherits:
GrafanaReporterError show all
Defined in:
lib/grafana_reporter/errors.rb

Overview

Thrown, if a mandatory attribute is not set.

Instance Method Summary collapse

Constructor Details

#initialize(attribute) ⇒ MissingMandatoryAttributeError

Returns a new instance of MissingMandatoryAttributeError.



101
102
103
# File 'lib/grafana_reporter/errors.rb', line 101

def initialize(attribute)
  super("Missing mandatory attribute '#{attribute}'.")
end