Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Update error handling demo

haxzie0bbcbd54f850
diff --git a/examples/error-handling-demo/package.json b/examples/error-handling-demo/package.json
new file mode 100644
index 000000000..1e46d30b5
--- /dev/null
+++ b/examples/error-handling-demo/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "error-handling-example",
+ "private": true,
+ "version": "0.1.10-alpha.0",
+ "description": "",
+ "main": "index.js",
+ "scripts": {
+ "start": "bun src/index.ts",
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "keywords": [],
+ "author": "",
+ "license": "ISC",
+ "packageManager": "[email protected]",
+ "dependencies": {
+ "@composio/core": "workspace:*",
+ "dotenv": "^16.5.0"
+ },
+ "devDependencies": {
+ "@types/bun": "^1.2.9",
+ "typescript": "^5.8.3"
+ }
+}
diff --git a/examples/error-handling-demo/tsconfig.json b/examples/error-handling-demo/tsconfig.json
new file mode 100644
index 000000000..ad82940d5
--- /dev/null
+++ b/examples/error-handling-demo/tsconfig.json
@@ -0,0 +1,15 @@
+{
+ "compilerOptions": {
+ "target": "ESNext",
+ "module": "ESNext",
+ "declaration": true,
+ "declarationDir": "./dist",
+ "outDir": "./dist",
+ "rootDir": "./src",
+ "strict": true,
+ "esModuleInterop": true,
+ "moduleResolution": "node",
+ "skipLibCheck": true
+ },
+ "include": ["src"]
+}