Exception: DeepL::Exceptions::RequestEntityTooLarge

Inherits:
RequestError show all
Defined in:
lib/deepl/exceptions/request_entity_too_large.rb

Instance Attribute Summary

Attributes inherited from RequestError

#request, #response

Instance Method Summary collapse

Methods inherited from RequestError

#initialize

Methods inherited from Error

#should_retry?

Constructor Details

This class inherits a constructor from DeepL::Exceptions::RequestError

Instance Method Details

#messageObject



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

def message
  'The request size has reached the supported limit. ' \
    "Make sure that you're not sending more than 50 text parts."
end