Sha256: ae0af66ce8e979a9c76ca7b7f387fc9449de4e6c3d8dab55810b09957053b130

Contents?: true

Size: 292 Bytes

Versions: 9

Compression:

Stored size: 292 Bytes

Contents

module SpotlightSearch
  module Exceptions
    class InvalidColumns < StandardError
      def initialize(columns = [])
        message = 'Invalid columns found: ' + columns.map(&:to_s).join(', ')
        super(message)
      end
    end

    class InvalidValue < StandardError; end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spotlight_search-0.3.4 lib/spotlight_search/exceptions.rb
spotlight_search-0.3.3 lib/spotlight_search/exceptions.rb
spotlight_search-0.3.2 lib/spotlight_search/exceptions.rb
spotlight_search-0.3.1 lib/spotlight_search/exceptions.rb
spotlight_search-0.3.0 lib/spotlight_search/exceptions.rb
spotlight_search-0.2.2 lib/spotlight_search/exceptions.rb
spotlight_search-0.2.1 lib/spotlight_search/exceptions.rb
spotlight_search-0.2.0 lib/spotlight_search/exceptions.rb
spotlight_search-0.1.9 lib/spotlight_search/exceptions.rb