-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Priority: MEDIUM
Finding: callClaude catches specific Anthropic error types (AuthenticationError, RateLimitError, InternalServerError, generic APIError) and shows user-friendly notices. These error paths are only verified by code inspection, not by tests.
Location: src/utils.ts (callClaude), src/utils.test.ts
Recommendation: Write tests that mock the Anthropic SDK to throw each error type and verify:
- The correct Notice message is shown
- The error is re-thrown for higher-level handling
Source: Guidelines advisor assessment — Testing & Verification
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels