Exception: Formify::Errors::FormError
- Inherits:
-
StandardError
- Object
- StandardError
- Formify::Errors::FormError
- Defined in:
- lib/formify/errors/form_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#form ⇒ Object
readonly
Returns the value of attribute form.
Instance Method Summary collapse
-
#initialize(form:, message:) ⇒ FormError
constructor
A new instance of FormError.
Constructor Details
#initialize(form:, message:) ⇒ FormError
Returns a new instance of FormError.
6 7 8 9 |
# File 'lib/formify/errors/form_error.rb', line 6 def initialize(form:, message:) @form = form super() end |
Instance Attribute Details
#form ⇒ Object (readonly)
Returns the value of attribute form.
4 5 6 |
# File 'lib/formify/errors/form_error.rb', line 4 def form @form end |