Sha256: 9f9ce7dff1988f5bc3a2b0702560d5c7e42daa39885916c7ccdc33ec244137b5

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

module Lutaml
  module Model
    class CollectionTrueMissingError < Error
      def initialize(attr_name, caller_class)
        @attr_name = attr_name
        @caller = caller_class

        super()
      end

      def to_s
        "May be `collection: true` is missing for `#{@attr_name}` in #{@caller}"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lutaml-model-0.5.3 lib/lutaml/model/error/collection_true_missing_error.rb
lutaml-model-0.5.2 lib/lutaml/model/error/collection_true_missing_error.rb
lutaml-model-0.5.1 lib/lutaml/model/error/collection_true_missing_error.rb