it would be far more convenient to always return a pytds exception. In other drivers for the same kinds of errors an OperationalError is returned, making it far simpler to catch errors. After all, for some reason the communication with the database fails. That is is caused by a socket timeout can be added to the exception text.
it would be far more convenient to always return a pytds exception. In other drivers for the same kinds of errors an OperationalError is returned, making it far simpler to catch errors. After all, for some reason the communication with the database fails. That is is caused by a socket timeout can be added to the exception text.