npm package diff

Package: @forge/sql

Versions: 2.3.0-next.0 - 2.3.0-next.1

File: package/out/errors.js

Index: package/out/errors.js
===================================================================
--- package/out/errors.js
+++ package/out/errors.js
@@ -28,21 +28,31 @@
 exports.ForgeSQLAPIError = ForgeSQLAPIError;
 class MigrationExecutionError extends ForgeSQLError {
     migrationName;
     migrationsYetToRun;
-    constructor(migrationName, migrationsYetToRun) {
+    cause;
+    constructor(migrationName, migrationsYetToRun, cause) {
         super(`Failed to execute migration with name ${migrationName}`);
         this.migrationName = migrationName;
         this.migrationsYetToRun = migrationsYetToRun;
+        this.cause = cause;
+        this.migrationName = migrationName;
+        this.migrationsYetToRun = migrationsYetToRun;
+        this.cause = cause;
     }
 }
 exports.MigrationExecutionError = MigrationExecutionError;
 class MigrationCheckPointError extends ForgeSQLError {
     migrationName;
     migrationsYetToRun;
-    constructor(migrationName, migrationsYetToRun) {
+    cause;
+    constructor(migrationName, migrationsYetToRun, cause) {
         super(`Failed to checkpoint after running migration with name ${migrationName}`);
         this.migrationName = migrationName;
         this.migrationsYetToRun = migrationsYetToRun;
+        this.cause = cause;
+        this.migrationName = migrationName;
+        this.migrationsYetToRun = migrationsYetToRun;
+        this.cause = cause;
     }
 }
 exports.MigrationCheckPointError = MigrationCheckPointError;