Class: Xcflushd::Reporter::ThreeScaleInternalError

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

Overview

Exception raised when the 3scale client is called with the right params but it returns a ServerError. Most of the time this means that 3scale is unreachable, although it could also be caused by a bug in the 3scale service management API.

Instance Method Summary collapse

Constructor Details

#initialize(service_id, transaction) ⇒ ThreeScaleInternalError

Returns a new instance of ThreeScaleInternalError.



28
29
30
# File 'lib/xcflushd/reporter.rb', line 28

def initialize(service_id, transaction)
  super(service_id, transaction, '3scale seems to be unreachable.'.freeze)
end