Exception: ComplyanceSDK::Retry::RetryExhaustedError

Inherits:
Exceptions::SDKException show all
Defined in:
lib/complyance_sdk/retry/retry_strategy.rb

Overview

Exception raised when all retry attempts are exhausted

Instance Attribute Summary

Attributes inherited from Exceptions::SDKException

#code, #context, #suggestion

Instance Method Summary collapse

Methods inherited from Exceptions::SDKException

#to_h

Constructor Details

#initialize(message = "All retry attempts exhausted", **kwargs) ⇒ RetryExhaustedError

Returns a new instance of RetryExhaustedError.



220
221
222
# File 'lib/complyance_sdk/retry/retry_strategy.rb', line 220

def initialize(message = "All retry attempts exhausted", **kwargs)
  super(message, context: { code: :retry_exhausted, **kwargs })
end