Sub-skill of testing-production: Error Handling.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill error-handling --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Error Handling?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-error-handling-7691f554)More formats (shields.io, HTML) on the badges page.
---
name: testing-production-error-handling
description: 'Sub-skill of testing-production: Error Handling.'
version: 1.0.0
category: development
type: reference
scripts_exempt: true
---
# Error Handling
## Error Handling
### Mock Found in Production Code
```bash
# Identify and report violations
grep -rn "mock\|fake\|stub" src/ --exclude-dir=__tests__ | while read line; do
echo "VIOLATION: $line"
echo "ACTION: Replace with real implementation"
done
```
### External Service Unavailable
```typescript
// Graceful handling of service outages during validation
try {
await validateExternalService(service);
} catch (error) {
if (error.code === 'ECONNREFUSED') {
console.warn(`Service ${service.name} unavailable - skipping validation`);
skippedValidations.push(service.name);
} else {
throw error;
*See sub-skills for full details.*
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.