Class: Xcflushd::Reporter::ThreeScaleAuthError
- Inherits:
-
ReporterError
- Object
- ReporterError
- Xcflushd::Reporter::ThreeScaleAuthError
- Defined in:
- lib/xcflushd/reporter.rb
Overview
Exception raised when the 3scale client made the call, but did not succeed. This happens when the credentials are invalid. For example, when an invalid provider key is used.
Instance Method Summary collapse
-
#initialize(service_id, transaction) ⇒ ThreeScaleAuthError
constructor
A new instance of ThreeScaleAuthError.
Constructor Details
#initialize(service_id, transaction) ⇒ ThreeScaleAuthError
Returns a new instance of ThreeScaleAuthError.
37 38 39 40 |
# File 'lib/xcflushd/reporter.rb', line 37 def initialize(service_id, transaction) super(service_id, transaction, 'Invalid credentials. Check the provider key'.freeze) end |