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.



110
111
112
# File 'lib/grafana_reporter/errors.rb', line 110

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