Skip to content

Commit 0c8f0ce

Browse files
feat: sync with latest Postgres Errors (#523)
Co-authored-by: GitHub Actions <[email protected]>
1 parent 0736a11 commit 0c8f0ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PostgresError.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ export enum PostgresError {
241241
IN_FAILED_SQL_TRANSACTION = "25P02",
242242
/** Class 25 - Invalid Transaction State: [E] idle_in_transaction_session_timeout */
243243
IDLE_IN_TRANSACTION_SESSION_TIMEOUT = "25P03",
244+
/** Class 25 - Invalid Transaction State: [E] transaction_timeout */
245+
TRANSACTION_TIMEOUT = "25P04",
244246
/** Class 26 - Invalid SQL Statement Name: [E] invalid_sql_statement_name */
245247
INVALID_SQL_STATEMENT_NAME = "26000",
246248
/** Class 27 - Triggered Data Change Violation: [E] triggered_data_change_violation */

0 commit comments

Comments
 (0)