mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
Run zig fmt
This commit is contained in:
@@ -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
|
||||
else
|
||||
JSC.Error.ERR_POSTGRES_SERVER_ERROR;
|
||||
JSC.Error.ERR_POSTGRES_SYNTAX_ERROR
|
||||
else
|
||||
JSC.Error.ERR_POSTGRES_SERVER_ERROR;
|
||||
const err = error_code.fmt(globalObject, "{s}", .{b.allocatedSlice()[0..b.len]});
|
||||
|
||||
inline for (possible_fields) |field| {
|
||||
|
||||
Reference in New Issue
Block a user