@effect/schema
Advanced tools
Comparing version 0.67.1 to 0.67.2
@@ -641,3 +641,5 @@ "use strict"; | ||
if (Either.isLeft(result)) { | ||
throw new Error(TreeFormatter.formatIssueSync(result.left)); | ||
throw new Error(TreeFormatter.formatIssueSync(result.left), { | ||
cause: result.left | ||
}); | ||
} | ||
@@ -644,0 +646,0 @@ }; |
@@ -582,3 +582,5 @@ /** | ||
if (Either.isLeft(result)) { | ||
throw new Error(TreeFormatter.formatIssueSync(result.left)); | ||
throw new Error(TreeFormatter.formatIssueSync(result.left), { | ||
cause: result.left | ||
}); | ||
} | ||
@@ -585,0 +587,0 @@ }; |
{ | ||
"name": "@effect/schema", | ||
"version": "0.67.1", | ||
"version": "0.67.2", | ||
"description": "Modeling the schema of data structures as first-class values", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -734,3 +734,3 @@ /** | ||
if (Either.isLeft(result)) { | ||
throw new Error(TreeFormatter.formatIssueSync(result.left)) | ||
throw new Error(TreeFormatter.formatIssueSync(result.left), { cause: result.left }) | ||
} | ||
@@ -737,0 +737,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2279490
39349
7527