Exception: PrometheusReporter::UnknownConfig
- Defined in:
- lib/prometheus_reporter/errors.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ UnknownConfig
constructor
A new instance of UnknownConfig.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ UnknownConfig
Returns a new instance of UnknownConfig.
7 8 9 |
# File 'lib/prometheus_reporter/errors.rb', line 7 def initialize(key) @key = key end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/prometheus_reporter/errors.rb', line 11 def "Unknown configuration option: #{@key}" end |