Class Rails::DataMapper::MultiparameterAssignmentErrors
In: lib/dm-rails/multiparameter_attributes.rb
Parent: StandardError

Raised by {MultiparameterAttributes#attributes=} when there are errors when merging multiparameter attributes. Use {errors} to get the array of errors occured.

Methods

new  

Attributes

errors  [R]  Gets the array of assignment errors. @return [Array<MultiparameterAssignmentError>]

Public Class methods

Initializes a new instance of the {MultiparameterAssignmentErrors} class.

@param [Array<MultiparameterAssignmentError>] errors

  The array of assignment errors.

@param [String] message Optional error message.

[Validate]