asfernandes / node-firebird-drivers

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

Create FbError class #1

Open asfernandes opened 6 years ago

asfernandes commented 6 years ago

Create a class to represent a Firebird exception which its status codes and strings.

https://github.com/asfernandes/node-firebird-driver/issues/1

gsbelarus commented 5 years ago

It definitely has to be solved as FB server error messages differs for Mac and Windows platforms.

asfernandes commented 5 years ago

Differ in what sense?

sywka commented 5 years ago

The sql errors are the same, but for some cases the errors from the driver may differ for different platforms. For example, connection to a non-existent database. For mac the error message is ... No such file or directory and for windows this is ... The system cannot find the file specified.

marcin-bury commented 2 weeks ago

Are there any chances to "dust off" this issue and implement this FbError class?