Exception: GrafanaReporter::Application::ParameterValueError
- Inherits:
-
ApplicationError
- Object
- StandardError
- GrafanaReporterError
- ApplicationError
- GrafanaReporter::Application::ParameterValueError
- Defined in:
- lib/grafana_reporter/application/errors.rb
Overview
Thrown, if the ā-sā parameter is not configured with exactly one variable name and one value.
Instance Method Summary collapse
-
#initialize(length) ⇒ ParameterValueError
constructor
A new instance of ParameterValueError.
Constructor Details
#initialize(length) ⇒ ParameterValueError
Returns a new instance of ParameterValueError.
13 14 15 |
# File 'lib/grafana_reporter/application/errors.rb', line 13 def initialize(length) super("Parameter '-s' needs exactly two values separated by comma, received #{length}.") end |