Exception: DeepL::Exceptions::ServerError
- Inherits:
-
RequestError
- Object
- StandardError
- Error
- RequestError
- DeepL::Exceptions::ServerError
- Defined in:
- lib/deepl/exceptions/server_error.rb
Instance Attribute Summary
Attributes inherited from RequestError
Instance Method Summary collapse
Methods inherited from RequestError
Constructor Details
This class inherits a constructor from DeepL::Exceptions::RequestError
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'lib/deepl/exceptions/server_error.rb', line 9 def 'An internal server error occured. Try again after waiting a short period.' end |
#should_retry? ⇒ Boolean
13 14 15 |
# File 'lib/deepl/exceptions/server_error.rb', line 13 def should_retry? true end |