Exception: GrafanaReporter::DatasourceRequestInternalError
- Inherits:
-
GrafanaReporterError
- Object
- StandardError
- GrafanaReporterError
- GrafanaReporter::DatasourceRequestInternalError
- Defined in:
- lib/grafana_reporter/errors.rb
Overview
Raised if some unhandled exception is raised during a datasource request execution.
Instance Method Summary collapse
-
#initialize(datasource, message) ⇒ DatasourceRequestInternalError
constructor
A new instance of DatasourceRequestInternalError.
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, ) super("The datasource request to '#{datasource.name}' (#{datasource.class}) failed with "\ "an internal error: #{}") end |