error-responses

Installation
SKILL.md

Error Responses

Overview

Never expose internal errors. Return structured, safe error responses.

Raw error messages leak implementation details, aid attackers, and confuse users. Errors should be safe, consistent, and actionable.

When to Use

  • Implementing error handling in APIs
  • Returning error responses to clients
  • Catching exceptions in controllers
  • Asked to "just return the error message"

The Iron Rule

Installs
33
GitHub Stars
11
First Seen
Jan 22, 2026
error-responses — yanko-belov/code-craft