code -> sqlCode

This commit is contained in:
Girish Ramakrishnan
2025-09-29 11:55:15 +02:00
parent 906e3f8cea
commit 5dd5a20fc1
14 changed files with 36 additions and 37 deletions

View File

@@ -19,8 +19,6 @@ function BoxError(reason, errorOrMessage, extra = {}) {
this.name = this.constructor.name;
this.reason = reason;
this.details = {};
this.code = extra.code;
this.sqlMessage = extra.sqlMessage;
if (typeof errorOrMessage === 'string') {
this.message = errorOrMessage;