Parent

Methods

Class 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 18
18:     def initialize(errors)
19:       if errors.respond_to?(:full_messages)
20:         @errors = errors
21:         super(errors.full_messages.join(', '))
22:       else
23:         super
24:       end
25:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.