@output.ai/core 0.5.0 → 0.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@output.ai/core",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "The core module of the output framework",
5
5
  "type": "module",
6
6
  "exports": {
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Error indicating a non-recoverable failure.
3
+ *
4
+ * Throw this error to end the workflow execution altogether without retries.
5
+ */
6
+ export class FatalError extends Error { }
7
+
8
+ /**
9
+ * Error indicating invalid input or schema validation issues.
10
+ *
11
+ * This error is thrown when there are validation errors, either in the input or output, for steps, evaluators, and workflows.
12
+ *
13
+ * It will end the workflow execution without retries.
14
+ */
15
+ export class ValidationError extends Error { }