Sha256: 6f56a0174a79b9def521cc5054187a3479d52951cef329aed1931127504174b1

Contents?: true

Size: 253 Bytes

Versions: 10

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Exceptions
    class TooManyMultipartFiles < Base
      def initialize(limit)
        super(message: compose_message(:too_many_multipart_files, limit: limit), status: 413)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
grape-2.3.0 lib/grape/exceptions/too_many_multipart_files.rb
grape-2.2.0 lib/grape/exceptions/too_many_multipart_files.rb
grape-2.1.3 lib/grape/exceptions/too_many_multipart_files.rb
grape-2.1.2 lib/grape/exceptions/too_many_multipart_files.rb
grape-2.1.1 lib/grape/exceptions/too_many_multipart_files.rb
grape-2.1.0 lib/grape/exceptions/too_many_multipart_files.rb
grape-2.0.0 lib/grape/exceptions/too_many_multipart_files.rb
grape-1.8.0 lib/grape/exceptions/too_many_multipart_files.rb
grape-1.7.1 lib/grape/exceptions/too_many_multipart_files.rb
grape-1.7.0 lib/grape/exceptions/too_many_multipart_files.rb