Sha256: 746cac6b12ceca293c952e8ed3fd5ccf3a4acef73d2815a54b8a82418bcc05e1

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

require 'lotus/model/mapping/collection'
require 'lotus/model/mapping/coercer'

module Lotus
  module Model
    # Mapping internal utilities
    #
    # @since 0.1.0
    module Mapping
      # Unmapped collection error.
      #
      # It gets raised when the application tries to access to a non-mapped
      # collection.
      #
      # @since 0.1.0
      class UnmappedCollectionError < ::StandardError
        def initialize(name)
          super("Cannot find collection: #{ name }")
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lotus-model-0.1.1 lib/lotus/model/mapping.rb
lotus-model-0.1.0 lib/lotus/model/mapping.rb