Module: AffiliateWindow::ErrorHandler
- Defined in:
- lib/affiliate_window/error_handler.rb
Class Method Summary collapse
Class Method Details
.handle(&block) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/affiliate_window/error_handler.rb', line 3 def self.handle(&block) begin block.call rescue Savon::Error => e raise Error, e. end end |