I disabled the raw error code tests in 846b2d0 for remote databases because we never set the error code for remote database errors:
export function mapHranaError(e: unknown): unknown {
if (e instanceof hrana.ClientError) {
const code = mapHranaErrorCode(e);
return new LibsqlError(e.message, code, undefined, e);
}
return e;
}
(It's the undefined there after code when constructing LibsqlError)
I disabled the raw error code tests in 846b2d0 for remote databases because we never set the error code for remote database errors:
(It's the
undefinedthere aftercodewhen constructingLibsqlError)