The sole argument to raise indicates the exception to be raised. This must be either an exception instance or an exception class (a class that derives from Exception)

Create issue
Issue #293 new
Former user created an issue

File "/usr/lib/python2.7/site-packages/piston/", line 74, in init raise TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

Comments (0)

  1. Log in to comment