Exception: NQL::AttributesNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/nql/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(model, attributes) ⇒ AttributesNotFoundError

Returns a new instance of AttributesNotFoundError.



21
22
23
# File 'lib/nql/error.rb', line 21

def initialize(model, attributes)
  super "#{model} does not contains the attributes #{attributes}"
end