Exception: DeepL::Exceptions::LimitExceeded
Instance Attribute Summary
Attributes inherited from RequestError
#request, #response
Attributes inherited from Error
#http_status_code
Instance Method Summary
collapse
#initialize
Methods inherited from Error
#initialize
Instance Method Details
#should_retry? ⇒ Boolean
13
14
15
|
# File 'lib/deepl/exceptions/limit_exceeded.rb', line 13
def should_retry?
true
end
|
#to_s ⇒ Object
9
10
11
|
# File 'lib/deepl/exceptions/limit_exceeded.rb', line 9
def to_s
with_body_message('Limit exceeded. Please wait and send your request once again.')
end
|