Incorrect usage of the error throwing wrapper
In some places - for example batch statements - the error wrapper is used only on the Rust side, but not on the JavaScript side. This results to the error not being unwrapped on the JS side.
In some places - for example batch statements - the error wrapper is used only on the Rust side, but not on the JavaScript side. This results to the error not being unwrapped on the JS side.