.continue/agents/error-message-quality.md
Review this pull request for error handling quality. The most common user-facing issues in this codebase are generic "Unknown error" messages and swallowed error details that prevent users from diagnosing problems themselves.
Catch blocks that discard error details - Look for catch blocks that re-throw or return a generic message without including the original error's message, status code, or context.
HTTP status codes without user-friendly mapping - When making API calls (especially to LLM providers), ensure that common HTTP errors produce distinct, actionable messages:
401 → "Invalid API key" (not "Unknown error")402 → "Insufficient funds or quota exceeded"403 → "Access denied - check your API key permissions"429 → "Rate limited - please wait and retry"5xx → "Provider service error - try again later"Silent failures - Look for empty catch blocks, caught errors that are only logged but not surfaced, or promise rejections that are swallowed.
Error messages that lack context - Error messages should include what operation failed and what the user can do about it, not just the raw error string.
Only review files changed in this PR. Do not audit the entire codebase. If you find issues, make targeted fixes to improve the error messages in the changed code. If no error handling issues exist in the changed files, do nothing.