Open
Description
Hello, I'm writing here to get explanations about err
callback's parameter for the methods which have it.
It is an object (typeof err; // object
) but contains something "else" other than the simple keys.
I.e., it is (on ad hoc error case)
{ Error: SQLITE_ERROR: near "TABLA": syntax error errno: 1, code: 'SQLITE_ERROR' }
but its keys are
Object.keys(err); // ['errno', 'code']
So, what is the first part? Those informations should be "placed" also as Object keys, like:
{
"Error": "near 'TABLA': syntax error",
"code": "SQLITE_ERROR",
"errno": 1,
}
Can this be done on the next release? Thank you.