Exception: Decidim::UnableToComposeQueriesException
- Inherits:
-
StandardError
- Object
- StandardError
- Decidim::UnableToComposeQueriesException
- Defined in:
- decidim-core/lib/decidim/query.rb
Instance Method Summary collapse
-
#initialize(query, other) ⇒ UnableToComposeQueriesException
constructor
A new instance of UnableToComposeQueriesException.
Constructor Details
#initialize(query, other) ⇒ UnableToComposeQueriesException
Returns a new instance of UnableToComposeQueriesException.
10 11 12 13 14 15 16 |
# File 'decidim-core/lib/decidim/query.rb', line 10 def initialize(query, other) super( "Unable to composite queries #{query.class.name} and " \ "#{other.class.name}. You cannot compose queries where #query " \ "returns an ActiveRecord::Relation in one and an array in the other." ) end |