class Formalism::Form::ValidationError

When trying to get `#result` from unsuccessful outcome

Attributes

errors[R]

Public Class Methods

new(errors) click to toggle source
Calls superclass method
# File lib/formalism/form/validation_error.rb, line 9
def initialize(errors)
        @errors = errors
        super "Outcome has errors: #{errors.to_a}"
end