Exception: DatabricksSql::RateLimitError
- Defined in:
- lib/databricks_sql/errors.rb
Instance Attribute Summary collapse
-
#retry_after_seconds ⇒ Object
readonly
Returns the value of attribute retry_after_seconds.
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(message, status_code:, response_body: nil, retry_after_seconds: nil) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(message, status_code:, response_body: nil, retry_after_seconds: nil) ⇒ RateLimitError
Returns a new instance of RateLimitError.
36 37 38 39 |
# File 'lib/databricks_sql/errors.rb', line 36 def initialize(, status_code:, response_body: nil, retry_after_seconds: nil) @retry_after_seconds = retry_after_seconds super(, status_code: status_code, response_body: response_body) end |
Instance Attribute Details
#retry_after_seconds ⇒ Object (readonly)
Returns the value of attribute retry_after_seconds.
34 35 36 |
# File 'lib/databricks_sql/errors.rb', line 34 def retry_after_seconds @retry_after_seconds end |