Exception: DeepL::Exceptions::DocumentTranslationError

Inherits:
Error
  • Object
show all
Defined in:
lib/deepl/exceptions/document_translation_error.rb

Instance Method Summary collapse

Methods inherited from Error

#should_retry?

Constructor Details

#initialize(message, handle) ⇒ DocumentTranslationError

Returns a new instance of DocumentTranslationError.



9
10
11
12
# File 'lib/deepl/exceptions/document_translation_error.rb', line 9

def initialize(message, handle)
  super(message)
  @handle = handle
end