Sha256: 97340b3f42a4463fc665638b6dbcea751733068df9fececfdfbf82962a82aade

Contents?: true

Size: 511 Bytes

Versions: 13

Compression:

Stored size: 511 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module EML
  module REST
    class UnprocessableEntityError < ::EML::RESTError
      sig do
        params(
          message: T.nilable(String),
          response: T.nilable(EML::Response)
        ).void
      end
      def initialize(message = nil, response = nil)
        message ||= "The server understood the request but it could not be " \
          "processed (possibly semantically erroneous)"
        super(message, response)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
eml-3.0.0 lib/eml/error/rest/unprocessable_entity.rb
eml-2.2.0 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.8 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.7 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.6 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.5 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.4 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.3 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.2 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.1 lib/eml/error/rest/unprocessable_entity.rb
eml-2.1.0 lib/eml/error/rest/unprocessable_entity.rb
eml-2.0.0 lib/eml/error/rest/unprocessable_entity.rb
eml-1.0.0 lib/eml/error/rest/unprocessable_entity.rb