Class: ActiveInteraction::Errors

Inherits:
ActiveModel::Errors
  • Object
show all
Defined in:
lib/active_interaction/errors.rb

Overview

An extension that provides the ability to merge other errors into itself.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#backtraceObject

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.

Parameters:

Returns:



100
101
102
103
104
# File 'lib/active_interaction/errors.rb', line 100

def merge!(other)
  merge_details!(other)

  self
end