Parent

Methods

Class/Module Index [+]

Quicksearch

Sequel::ValidationFailed

Exception class raised when raise_on_save_failure is set and validation fails

Attributes

errors[R]

Public Class Methods

new(errors) click to toggle source
# File lib/sequel/model/exceptions.rb, line 11
def initialize(errors)
  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.