Class: ActiveInteraction::Errors
- Inherits:
-
ActiveModel::Errors
- Object
- ActiveModel::Errors
- ActiveInteraction::Errors
- Defined in:
- lib/active_interaction/errors.rb
Overview
An extension that provides the ability to merge other errors into itself.
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
Returns the value of attribute backtrace.
Instance Method Summary collapse
-
#merge!(other) ⇒ Errors
Merge other errors into this one.
Instance Attribute Details
#backtrace ⇒ Object
Returns the value of attribute backtrace.
93 94 95 |
# File 'lib/active_interaction/errors.rb', line 93 def backtrace @backtrace end |
Instance Method Details
#merge!(other) ⇒ Errors
Merge other errors into this one.
100 101 102 103 104 |
# File 'lib/active_interaction/errors.rb', line 100 def merge!(other) merge_details!(other) self end |