cloudflare-workers-error-handling
CommunityRobust error handling and logging for Cloudflare Workers
Authoronichandame
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cloudflare Workers applications often struggle with unstructured error handling and scattered logging. This skill provides a centralized, typed approach to errors and structured logs to improve reliability, observability, and debugging.
Core Features & Use Cases
- Standardized API error responses: Consistent error shapes with codes, categories, and timestamps.
- Structured logging: Centralized logs with request context, user data, and error traces for debugging.
- Middleware-driven handling: Reusable middleware for catching and formatting errors across routes.
Quick Start
Configure your Cloudflare Workers project to use the error classes and middleware described above, wire API responses to the error JSON format, and attach the logger to your preferred log sink.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cloudflare-workers-error-handling Download link: https://github.com/onichandame/zapdo/archive/main.zip#cloudflare-workers-error-handling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.