class WebMock::Response
def exception=(exception)
def exception=(exception) @exception = case exception when String then StandardError.new(exception) when Class then exception.new('Exception from WebMock') when Exception then exception end end
def exception=(exception) @exception = case exception when String then StandardError.new(exception) when Class then exception.new('Exception from WebMock') when Exception then exception end end