Sha256: 2bbc805338377ba65cdc0b7df5c2116442814264a0db1e4af515970637dd9bb2

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

# Copyright 2022 Daniel Herzog
# Use of this source code is governed by an MIT
# license that can be found in the LICENSE.md file.
# frozen_string_literal: true

module DeepL
  module Exceptions
    class RequestEntityTooLarge < RequestError
      def message
        'The request size has reached the supported limit. ' \
          "Make sure that you're not sending more than 50 text parts."
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
deepl-rb-3.1.0 lib/deepl/exceptions/request_entity_too_large.rb
deepl-rb-3.0.2 lib/deepl/exceptions/request_entity_too_large.rb
deepl-rb-3.0.1 lib/deepl/exceptions/request_entity_too_large.rb
deepl-rb-3.0.0 lib/deepl/exceptions/request_entity_too_large.rb