Exception: GrafanaReporter::MalformedAttributeContentError

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

Overview

Thrown, if a configured parameter is malformed.

Instance Method Summary collapse

Constructor Details

#initialize(message, attribute, content) ⇒ MalformedAttributeContentError

Returns a new instance of MalformedAttributeContentError.



84
85
86
# File 'lib/grafana_reporter/errors.rb', line 84

def initialize(message, attribute, content)
  super("The content '#{content}' in attribute '#{attribute}' is malformed: #{message}")
end