Exception: DeepL::Exceptions::DocumentNotReadyError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- RequestError
- ServerError
- DeepL::Exceptions::DocumentNotReadyError
- Defined in:
- lib/deepl/exceptions/document_not_ready_error.rb
Overview
HTTP 503 on a document download: the translated document is not ready yet. Raised after the retries.
Instance Attribute Summary
Attributes inherited from RequestError
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from ServerError
Methods inherited from RequestError
Methods inherited from Error
Constructor Details
This class inherits a constructor from DeepL::Exceptions::ServerError
Instance Method Details
#to_s ⇒ Object
11 12 13 14 |
# File 'lib/deepl/exceptions/document_not_ready_error.rb', line 11 def to_s = ? "Document not ready: #{}" : 'Document not ready.' end |