Error
Exception class raised when raise_on_save_failure is set and validation fails
The Sequel::Model::Errors object related to this exception.
The Sequel::Model object related to this exception.
# File lib/sequel/model/exceptions.rb, line 32 def initialize(errors) if errors.is_a?(Sequel::Model) @model = errors errors = @model.errors end if errors.respond_to?(:full_messages) @errors = errors super(errors.full_messages.join(', ')) else super end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.