Sha256: 59f5e748078e1261f4f3b8f754150eeed2cf3a8220af52c3fbb18e97901f1376

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

# Copyright 2018 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 QuotaExceeded < RequestError
      def message
        'Quota exceeded. The character limit has been reached.'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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