21b597ef17
This is a fix for issue #50. It alters both the native binding and the javascript binding to ensure that any errors returned by Postgresql are returned to the client code as instances of the built in Error class. The test code has been updated to assert that this is the case. Rather than run some individual tests the updated test code ensures this is the case for *all* errors encountered during a test run. |
||
---|---|---|
.. | ||
native | ||
client.js | ||
connection.js | ||
defaults.js | ||
index.js | ||
query.js | ||
result.js | ||
types.js | ||
utils.js | ||
writer.js |