Exception: ApiParticulier::Commons::ProviderError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- ServerError
- ApiParticulier::Commons::ProviderError
- Defined in:
- lib/api_particulier/commons/errors.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from Error
#errors, #http_status, #method, #url
Instance Method Summary collapse
-
#initialize(message = nil, retry_after: nil, **kwargs) ⇒ ProviderError
constructor
A new instance of ProviderError.
Methods inherited from Error
#first_error, #first_error_code, #first_error_detail, #first_error_meta, #first_error_source, #first_error_title
Constructor Details
#initialize(message = nil, retry_after: nil, **kwargs) ⇒ ProviderError
Returns a new instance of ProviderError.
72 73 74 75 |
# File 'lib/api_particulier/commons/errors.rb', line 72 def initialize( = nil, retry_after: nil, **kwargs) super(, **kwargs) @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
70 71 72 |
# File 'lib/api_particulier/commons/errors.rb', line 70 def retry_after @retry_after end |