Skip to content

refactor(errors): centralize custom errors - #1885

Merged
tejaskash merged 1 commit into
refactorfrom
chore/centralize-errors
Jul 31, 2026
Merged

refactor(errors): centralize custom errors#1885
tejaskash merged 1 commit into
refactorfrom
chore/centralize-errors

Conversation

@tejaskash

Copy link
Copy Markdown
Contributor

Summary

  • move all custom error class definitions into src/errors
  • export centralized errors through the errors barrel
  • update implementations and tests to import errors from their new owner

Verification

  • bun test (569 tests)
  • bun run typecheck
  • bun run lint:check
  • bun run format:check
  • bun run build

@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label Jul 31, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.98%. Comparing base (a08c73f) to head (a6a407b).

Additional details and impacted files
@@            Coverage Diff            @@
##           refactor    #1885   +/-   ##
=========================================
  Coverage     95.98%   95.98%           
=========================================
  Files           208      207    -1     
  Lines          9636     9643    +7     
=========================================
+ Hits           9249     9256    +7     
  Misses          387      387           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Jul 31, 2026

@notgitika notgitika left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tejaskash
tejaskash merged commit 5849293 into refactor Jul 31, 2026
10 checks passed
@tejaskash
tejaskash deleted the chore/centralize-errors branch July 31, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants