module AffiliateWindow::ErrorHandler
Public Class Methods
handle(&block)
click to toggle source
# File lib/affiliate_window/error_handler.rb, line 3 def self.handle(&block) begin block.call rescue Savon::Error => e raise Error, e.message end end