@takeshape/errors 11.56.1 → 11.59.0

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.
@@ -0,0 +1,6 @@
1
+ import { BaseError } from './base-error.ts';
2
+ export declare class AgentExecutionError extends BaseError {
3
+ static code: string;
4
+ static statusCode: number;
5
+ reportToSentry: boolean;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseError } from "./base-error.js";
2
+ export class AgentExecutionError extends BaseError {
3
+ static code = 'AGENT_EXECUTION_ERROR';
4
+ static statusCode = 500;
5
+ reportToSentry = false;
6
+ }
package/dist/index.d.ts CHANGED
@@ -27,3 +27,4 @@ export * from './schema-build.ts';
27
27
  export * from './suspend.ts';
28
28
  export * from './remote-graphql-schema.ts';
29
29
  export * from './guardrails.ts';
30
+ export * from './agent-execution-error.ts';
package/dist/index.js CHANGED
@@ -27,3 +27,4 @@ export * from "./schema-build.js";
27
27
  export * from "./suspend.js";
28
28
  export * from "./remote-graphql-schema.js";
29
29
  export * from "./guardrails.js";
30
+ export * from "./agent-execution-error.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/errors",
3
- "version": "11.56.1",
3
+ "version": "11.59.0",
4
4
  "description": "Custom error objects.",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {