Class: ActiveInteraction::Errors
- Inherits:
-
ActiveModel::Errors
- Object
- ActiveModel::Errors
- ActiveInteraction::Errors
- Includes:
- Details
- Defined in:
- lib/active_interaction/errors.rb,
lib/active_interaction/backports.rb
Overview
rubocop:disable Style/Documentation
Defined Under Namespace
Modules: Details
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#merge!(other) ⇒ Errors
Merge other errors into this one.
Methods included from Details
#add_with_details, #clear_with_details, #delete_with_details, #initialize_dup_with_details, #initialize_with_details
Instance Attribute Details
#backtrace ⇒ Object
95 96 97 |
# File 'lib/active_interaction/errors.rb', line 95 def backtrace @backtrace end |
Instance Method Details
#merge!(other) ⇒ Errors
Merge other errors into this one.
102 103 104 105 106 107 108 109 110 |
# File 'lib/active_interaction/errors.rb', line 102 def merge!(other) if other.respond_to?(:details) merge_details!(other) else (other) end self end |