Exception: Ashikawa::Core::NoCollectionProvidedException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ashikawa-core/exceptions/no_collection_provided.rb

Overview

This Exception is thrown when a Query object should execute a simple query but no collection was provided upon creation

Instance Method Summary collapse

Instance Method Details

#to_sObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

String representation of the exception

Returns:

  • String



11
12
13
# File 'lib/ashikawa-core/exceptions/no_collection_provided.rb', line 11

def to_s
  "A simple query can't be executed by a Query object without a collection"
end