StandardError
Encapsulates an error of a multiparameter assignment.
Initializes a new instance of the {MultiparameterAssignmentError} class.
@param [String] attribute The target attribute of the assignment. @param [Array] values The assigned values. @param [Exception] exception The exception raised on the assignment.
# File lib/dm-rails/multiparameter_attributes.rb, line 24 def initialize(attribute, values, exception) super("Could not assign #{values.inspect} to #{attribute} (#{exception.message}).") @attribute = attribute @values = values @exception = exception end
Generated with the Darkfish Rdoc Generator 2.