class Aws::Stubbing::Protocols::RestXml
def stub_error(error_code)
def stub_error(error_code) resp = Seahorse::Client::Http::Response.new resp.status_code = 400 resp.body = XmlError.new(error_code).to_xml resp end
def stub_error(error_code) resp = Seahorse::Client::Http::Response.new resp.status_code = 400 resp.body = XmlError.new(error_code).to_xml resp end