[PR #601] [MERGED] feat(langgraph): Add base error class, improve error messages #877

Closed
opened 2026-02-15 19:16:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/601
Author: @jacoblee93
Created: 10/15/2024
Status: Merged
Merged: 10/16/2024
Merged by: @jacoblee93

Base: mainHead: jacob/errors


📝 Commits (6)

📊 Changes

15 files changed (+395 additions, -95 deletions)

View changed files

📝 docs/docs/how-tos/index.md (+9 -0)
docs/docs/tutorials/chatbot-simulation-evaluation/img/virtual_user_diagram.png (+0 -0)
📝 docs/mkdocs.yml (+5 -0)
examples/how-tos/troubleshooting/errors/GRAPH_RECURSION_LIMIT.ipynb (+42 -0)
examples/how-tos/troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.ipynb (+58 -0)
examples/how-tos/troubleshooting/errors/INVALID_GRAPH_NODE_RETURN_VALUE.ipynb (+55 -0)
examples/how-tos/troubleshooting/errors/MULTIPLE_SUBGRAPHS.ipynb (+29 -0)
📝 libs/langgraph/src/channels/last_value.ts (+4 -1)
📝 libs/langgraph/src/errors.ts (+50 -29)
📝 libs/langgraph/src/graph/state.ts (+8 -3)
📝 libs/langgraph/src/pregel/algo.ts (+5 -3)
📝 libs/langgraph/src/pregel/index.ts (+4 -1)
📝 libs/langgraph/src/pregel/loop.ts (+4 -1)
libs/langgraph/src/tests/errors.test.ts (+122 -0)
📝 libs/langgraph/src/tests/pregel.test.ts (+0 -57)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/601 **Author:** [@jacoblee93](https://github.com/jacoblee93) **Created:** 10/15/2024 **Status:** ✅ Merged **Merged:** 10/16/2024 **Merged by:** [@jacoblee93](https://github.com/jacoblee93) **Base:** `main` ← **Head:** `jacob/errors` --- ### 📝 Commits (6) - [`4335da6`](https://github.com/langchain-ai/langgraphjs/commit/4335da63811b8fb09fbebd6a7d61c1c06694f65f) Adds base error class, improve messages - [`eb04ad2`](https://github.com/langchain-ai/langgraphjs/commit/eb04ad2ee2750688f437ac2e761b4ab80b3592b8) Remove test - [`0cd222d`](https://github.com/langchain-ai/langgraphjs/commit/0cd222df095b9b523db4f48df08dda28328e4e91) Add error pages - [`d8681ed`](https://github.com/langchain-ai/langgraphjs/commit/d8681edadb6851d93196d86099b74c38eb707761) Rename prop - [`ba7e391`](https://github.com/langchain-ai/langgraphjs/commit/ba7e39113d59cff37b2e9bab0139e0e06fe67e17) Fix build - [`68a6db7`](https://github.com/langchain-ai/langgraphjs/commit/68a6db7e3ff0418f0526ee32c0d553cd10d50e06) Fix test ### 📊 Changes **15 files changed** (+395 additions, -95 deletions) <details> <summary>View changed files</summary> 📝 `docs/docs/how-tos/index.md` (+9 -0) ➕ `docs/docs/tutorials/chatbot-simulation-evaluation/img/virtual_user_diagram.png` (+0 -0) 📝 `docs/mkdocs.yml` (+5 -0) ➕ `examples/how-tos/troubleshooting/errors/GRAPH_RECURSION_LIMIT.ipynb` (+42 -0) ➕ `examples/how-tos/troubleshooting/errors/INVALID_CONCURRENT_GRAPH_UPDATE.ipynb` (+58 -0) ➕ `examples/how-tos/troubleshooting/errors/INVALID_GRAPH_NODE_RETURN_VALUE.ipynb` (+55 -0) ➕ `examples/how-tos/troubleshooting/errors/MULTIPLE_SUBGRAPHS.ipynb` (+29 -0) 📝 `libs/langgraph/src/channels/last_value.ts` (+4 -1) 📝 `libs/langgraph/src/errors.ts` (+50 -29) 📝 `libs/langgraph/src/graph/state.ts` (+8 -3) 📝 `libs/langgraph/src/pregel/algo.ts` (+5 -3) 📝 `libs/langgraph/src/pregel/index.ts` (+4 -1) 📝 `libs/langgraph/src/pregel/loop.ts` (+4 -1) ➕ `libs/langgraph/src/tests/errors.test.ts` (+122 -0) 📝 `libs/langgraph/src/tests/pregel.test.ts` (+0 -57) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:15 -05:00
yindo closed this issue 2026-02-15 19:16:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#877