Method: Phlexi::Form::Options::Errors#custom_error

Defined in:
lib/phlexi/form/options/errors.rb

#custom_error(error) ⇒ Object



7
8
9
10
# File 'lib/phlexi/form/options/errors.rb', line 7

def custom_error(error)
  options[:error] = error
  self
end