Method: LHS::Record::Chainable::Chain#rescue

Defined in:
lib/lhs/concerns/record/chainable.rb

#rescue(error_class, handler) ⇒ Object



258
259
260
# File 'lib/lhs/concerns/record/chainable.rb', line 258

def rescue(error_class, handler)
  push(ErrorHandling.new(error_class => handler))
end