Exception: GrafanaReporter::ConfigurationDoesNotMatchSchemaError

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

Overview

Thrown if the configuration does not match the expected schema. Details about how to fix that are provided in the message.

Instance Method Summary collapse

Constructor Details

#initialize(item, verb, expected, currently) ⇒ ConfigurationDoesNotMatchSchemaError

Returns a new instance of ConfigurationDoesNotMatchSchemaError.



67
68
69
70
# File 'lib/grafana_reporter/errors.rb', line 67

def initialize(item, verb, expected, currently)
  super("Configuration file does not match schema definition. Expected '#{item}' to #{verb} '#{expected}', "\
        "but was '#{currently}'.")
end