    # File lib/fog/aws/cdn.rb, line 110
            def self.raise_error(status, code, message='')
              response = Excon::Response.new
              response.status = status
              response.body = "<ErrorResponse xmlns=\"http://cloudfront.amazonaws.com/doc/2010-11-01/\">\n   <Error>\n      <Type>Sender</Type>\n      <Code>\#{code}</Code>\n      <Message>\#{message}.</Message>\n   </Error>\n   <RequestId>\#{Fog::AWS::Mock.request_id}</RequestId>\n</ErrorResponse>\n"

              raise(Excon::Errors.status_error({:expects => 201}, response))
            end