class Aws::Stubbing::Protocols::EC2

def stub_error(error_code)

def stub_error(error_code)
  http_resp = Seahorse::Client::Http::Response.new
  http_resp.status_code = 400
  http_resp.body = <<-XML.strip
sponse>
>
e>#{error_code}</Code>
sage>stubbed-response-error-message</Message>
r>
esponse>
  XML
  http_resp
end