Sha256: 15f0e95b0ef044cbf9952a87a0fcbbc319eadddcec4d4a310bfc69062e7573d9

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

module Ashikawa
  module Core
    # This Exception is thrown when a Query object should execute a simple query
    # but no collection was provided upon creation
    class NoCollectionProvidedException < RuntimeError
      # String representation of the exception
      #
      # @return String
      # @api private
      def to_s
        "A simple query can't be executed by a Query object without a collection"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ashikawa-core-0.8.0 lib/ashikawa-core/exceptions/no_collection_provided.rb
ashikawa-core-0.7.2 lib/ashikawa-core/exceptions/no_collection_provided.rb
ashikawa-core-0.7.1 lib/ashikawa-core/exceptions/no_collection_provided.rb
ashikawa-core-0.7.0 lib/ashikawa-core/exceptions/no_collection_provided.rb
ashikawa-core-0.6.0 lib/ashikawa-core/exceptions/no_collection_provided.rb