Class: Xcflushd::Reporter::ThreeScaleBadParams

Inherits:
ReporterError show all
Defined in:
lib/xcflushd/reporter.rb

Overview

Exception raised when the 3scale client is not called with the right params. This happens when there are programming errors.

Instance Method Summary collapse

Constructor Details

#initialize(service_id, transaction) ⇒ ThreeScaleBadParams

Returns a new instance of ThreeScaleBadParams.



17
18
19
20
# File 'lib/xcflushd/reporter.rb', line 17

def initialize(service_id, transaction)
  super(service_id, transaction,
        'There might be a bug in the program.'.freeze)
end