remove more usingnamespace (#19042)

This commit is contained in:
chloe caruso
2025-04-17 19:04:05 -07:00
committed by GitHub
parent a3809676e9
commit 7d7512076b
85 changed files with 1328 additions and 943 deletions

View File

@@ -809,9 +809,9 @@ pub const ErrorResponse = struct {
const error_code: JSC.Error =
// https://www.postgresql.org/docs/8.1/errcodes-appendix.html
if (code.eqlComptime("42601"))
JSC.Error.ERR_POSTGRES_SYNTAX_ERROR
.POSTGRES_SYNTAX_ERROR
else
JSC.Error.ERR_POSTGRES_SERVER_ERROR;
.POSTGRES_SERVER_ERROR;
const err = error_code.fmt(globalObject, "{s}", .{b.allocatedSlice()[0..b.len]});
inline for (possible_fields) |field| {