Sha256: 9388a70d153a783ba7f6dad24e1e19c1b9b20d27e8efe3fb587faa929f09f429

Contents?: true

Size: 392 Bytes

Versions: 24

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module Avromatic
  module Model
    class UnknownAttributeError < StandardError
      attr_reader :unknown_attributes, :allowed_attributes

      def initialize(message, unknown_attributes:, allowed_attributes:)
        super(message)
        @unknown_attributes = unknown_attributes
        @allowed_attributes = allowed_attributes
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
avromatic-5.2.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-5.1.1 lib/avromatic/model/unknown_attribute_error.rb
avromatic-5.1.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-5.0.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-4.3.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-4.2.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-4.1.1 lib/avromatic/model/unknown_attribute_error.rb
avromatic-4.1.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-4.0.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-3.0.2 lib/avromatic/model/unknown_attribute_error.rb
avromatic-3.0.1 lib/avromatic/model/unknown_attribute_error.rb
avromatic-3.0.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.4.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.3.0 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.2.6 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.2.5 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.2.4 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.2.3 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.2.2 lib/avromatic/model/unknown_attribute_error.rb
avromatic-2.2.1 lib/avromatic/model/unknown_attribute_error.rb