Attempt to identify and parse a raw error from sending a native query and normalize it to a standard error footprint.
var PostgreSQL = require('machinepack-postgresql');
// Attempt to identify and parse a raw error from sending a native query and normalize it to a standard error footprint.
PostgreSQL.parseNativeQueryError({
nativeQueryError: '===',
meta: '===',
}).execSync();
The error sent back from the database as a result of a native query.
'==='
Additional stuff to pass to the driver.
'==='
An unexpected error occurred.
OK.
'==='