@punks/backend-entity-manager 0.0.172 → 0.0.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -22607,10 +22607,11 @@ class NestTypeOrmEntitySeeder extends TypeOrmEntitySeeder {
22607
22607
  }
22608
22608
 
22609
22609
  class PipelineInvocationError extends Error {
22610
- constructor(errorType, innerError, message) {
22610
+ constructor(errorType, innerError, rawResult, message) {
22611
22611
  super(message ?? innerError?.message);
22612
22612
  this.errorType = errorType;
22613
22613
  this.innerError = innerError;
22614
+ this.rawResult = rawResult;
22614
22615
  }
22615
22616
  }
22616
22617
 
@@ -22720,7 +22721,7 @@ class NestPipelineTemplate {
22720
22721
  context: await this.getContext(),
22721
22722
  });
22722
22723
  if (result.type !== "success") {
22723
- throw new PipelineInvocationError(result.errorType, result.exception);
22724
+ throw new PipelineInvocationError(result.errorType, result.exception, result);
22724
22725
  }
22725
22726
  return result.output;
22726
22727
  }