Method: DHS::Record::Chainable::Chain#rescue

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

#rescue(error_class, handler) ⇒ Object



272
273
274
# File 'lib/dhs/concerns/record/chainable.rb', line 272

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