Exception: GrafanaReporter::DatasourceRequestInternalError

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

Overview

Raised if some unhandled exception is raised during a datasource request execution.

Instance Method Summary collapse

Constructor Details

#initialize(datasource, message) ⇒ DatasourceRequestInternalError

Returns a new instance of DatasourceRequestInternalError.



21
22
23
24
# File 'lib/grafana_reporter/errors.rb', line 21

def initialize(datasource, message)
  super("The datasource request to '#{datasource.name}' (#{datasource.class}) failed with "\
        "an internal error: #{message}")
end