Exception: GrafanaReporter::TimeRangeUnknownError

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

Overview

Thrown, if a configured time range is not supported by the reporter.

If this happens, most likely the reporter has to implement the new time range definition.

Instance Method Summary collapse

Constructor Details

#initialize(time_range) ⇒ TimeRangeUnknownError

Returns a new instance of TimeRangeUnknownError.



103
104
105
# File 'lib/grafana_reporter/errors.rb', line 103

def initialize(time_range)
  super("The specified time range '#{time_range}' is unknown.")
end