# File lib/webmock/request_stub.rb, line 30 def to_raise(*exceptions) @responses_sequences << ResponsesSequence.new([*exceptions].flatten.map {|e| ResponseFactory.response_for(:exception => e) }) self end