fix: rewrote track in psql functions

This commit is contained in:
John Yeo
2025-10-30 16:26:32 -07:00
parent f102310542
commit 5ab888a9b8
69 changed files with 4143 additions and 1508 deletions

View File

@@ -0,0 +1,13 @@
import { RecaseError } from "../../../index.js";
import { BalancesErrorCode } from "../codes/balancesErrCodes.js";
export class InsufficientBalanceError extends RecaseError {
constructor(opts?: { message?: string }) {
super({
message: opts?.message || "Insufficient balance",
code: BalancesErrorCode.InsufficientBalance,
statusCode: 400,
});
this.name = "InsufficientBalanceError";
}
}