Add 1 hour graph translation

This commit is contained in:
Johannes Zellner
2025-05-26 10:45:23 +02:00
parent ff2cb31f0f
commit 38ff515d68
5 changed files with 23 additions and 12 deletions

View File

@@ -19,6 +19,8 @@ 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;