asfernandes / node-firebird-drivers

Node.js Firebird Drivers
MIT License
53 stars 17 forks source link

Throw an error when the client library is not loaded correctly #2

Closed asfernandes closed 6 years ago

asfernandes commented 6 years ago

Currently, node-firebird-native-api's getMaster returns null when the client library is not found or is not loaded correctly. And node-firebird-driver-native's createNativeClient throws an internal TypeError.

The functions should throw a proper exception.