<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1: suds client throws base Exception()</title><link href="https://sourceforge.net/p/python-suds/bugs/1/" rel="alternate"/><link href="https://sourceforge.net/p/python-suds/bugs/1/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-suds/bugs/1/</id><updated>2010-05-30T19:35:49Z</updated><subtitle>Recent changes to 1: suds client throws base Exception()</subtitle><entry><title>suds client throws base Exception()</title><link href="https://sourceforge.net/p/python-suds/bugs/1/" rel="alternate"/><published>2010-05-30T19:35:49Z</published><updated>2010-05-30T19:35:49Z</updated><author><name>JoNO</name><uri>https://sourceforge.net/u/jonozzz/</uri></author><id>https://sourceforge.net9763770cbe61c352f5e40a56aa6be22aa358c844</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;One example is in client.py:&lt;/p&gt;
&lt;p&gt;if self.options.faults:&lt;br /&gt;
raise Exception((status, reason))&lt;/p&gt;
&lt;p&gt;Instead it should rise transport.TransportError.&lt;/p&gt;
&lt;p&gt;Other example:&lt;br /&gt;
raise Exception('(reply|fault) expected when msg=None')&lt;br /&gt;
One option would be to rise ValueError or a suds base exception.&lt;/p&gt;
&lt;p&gt;Another one:&lt;br /&gt;
raise Exception, 'not implemented'&lt;br /&gt;
it should be NotImplementedError, "some text"&lt;/p&gt;
&lt;p&gt;Either way the way exceptions are being thrown across the package should be revisited.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>