Exception: GrafanaReporter::MissingMandatoryAttributeError
- Inherits:
-
GrafanaReporterError
- Object
- StandardError
- GrafanaReporterError
- GrafanaReporter::MissingMandatoryAttributeError
- Defined in:
- lib/grafana_reporter/errors.rb
Overview
Thrown, if a mandatory attribute is not set.
Instance Method Summary collapse
-
#initialize(attribute) ⇒ MissingMandatoryAttributeError
constructor
A new instance of MissingMandatoryAttributeError.
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 |