- changed component to engine
NotSupportedError constructor now requires additional arguments for inherited DBAPIError constructor
Issue #1251
resolved
NotSupportedError inherits from DatabaseError which inherits from DBAPIError which now has a constructor with at least four arguments. So all invocations of NotSupportedError with just a message parameter will fail.
Comments (2)
-
repo owner -
repo owner - changed status to invalid
closing for now.
- Log in to comment
Are we talking about
NotSupportedError
as defined insqlalchemy.exc
? or within a particular DBAPI implementation ? TheNotSupportedError
insqlalchemy.exc
is created through a specific codepath, that of when a correspondingNotSupportedError
is caught from a DBAPI. It works the same as all the other DBAPI errors so I don't know what usage you are attempting.