Skip to content

feat(sdk): standardize backend error types with strict literals#2004

Closed
Zavi Quintero (ZaviQ7) wants to merge 3 commits intolangchain-ai:mainfrom
ZaviQ7:feat/standardize-backend-errors
Closed

feat(sdk): standardize backend error types with strict literals#2004
Zavi Quintero (ZaviQ7) wants to merge 3 commits intolangchain-ai:mainfrom
ZaviQ7:feat/standardize-backend-errors

Conversation

@ZaviQ7
Copy link
Copy Markdown

@ZaviQ7 Zavi Quintero (ZaviQ7) commented Mar 18, 2026

Standardizes backend file operation errors to use strict Literal strings (e.g., "file_not_found") instead of raw error strings across all built-in backends. This aligns with the new constraint in AGENTS.md to provide structured, LLM-actionable error reporting without breaking backwards compatibility for custom backends.

@github-actions github-actions bot added deepagents Related to the `deepagents` SDK / agent harness feature New feature/enhancement or request for one size: M 200-499 LOC labels Mar 18, 2026
@mdrxy Mason Daugherty (mdrxy) changed the title feat: standardize backend error types with strict literals feat(sdk): standardize backend error types with strict literals Mar 18, 2026
@mdrxy Mason Daugherty (mdrxy) changed the title feat(sdk): standardize backend error types with strict literals feat(sdk): standardize backend error types with strict literal Mar 20, 2026
@mdrxy Mason Daugherty (mdrxy) changed the title feat(sdk): standardize backend error types with strict literal feat(sdk): standardize backend error types with strict literals Mar 20, 2026
@mdrxy Mason Daugherty (mdrxy) added the external User is not a member of the `langchain-ai` GitHub organization label Mar 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR has been automatically closed because it does not link to an approved issue.

All external contributions must reference an approved issue or discussion. Please:

  1. Find or open an issue describing the change
  2. Wait for a maintainer to approve and assign you
  3. Add Fixes #<issue_number>, Closes #<issue_number>, or Resolves #<issue_number> to your PR description and the PR will be reopened automatically

@github-actions github-actions bot closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents Related to the `deepagents` SDK / agent harness external User is not a member of the `langchain-ai` GitHub organization feature New feature/enhancement or request for one missing-issue-link size: M 200-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants