class GrafanaReporter::ConfigurationDoesNotMatchSchemaError
Thrown if the configuration does not match the expected schema. Details about how to fix that are provided in the message.
Public Class Methods
new(item, verb, expected, currently)
click to toggle source
Calls superclass method
GrafanaReporter::ConfigurationError::new
# 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