.cursorrules: Forbid Silent Catches and Swallowed Errors
A .cursorrules block that makes Cursor refuse to write try/catch blocks that hide failure from the caller.
The Prompt
Already a member? Sign in.
.cursorrules: Enforce Error Handling Discipline by Layer
A drop-in .cursorrules block that makes Cursor handle errors differently at the boundary, service, and infrastructure layers.
Cursor .cursorrules: Enforce Consistent Error Handling
Generate a .cursorrules block that forces Cursor to write error handling the same way every time.
Claude Code: Find Every Place Errors Are Swallowed Silently
Locate every catch block, fallback, and default that hides failure instead of surfacing it to the caller.
.cursorrules: Require Failure Mode Documentation on Every External Call
Forces the AI to document what breaks and how before writing any code that touches an external service or API.