exceptions

Official

Clear domain-specific errors with dedicated exceptions.

Authorcodebar-ag
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Named, meaningful failure states in your domain help callers understand exactly what went wrong and why, instead of surfacing generic exceptions.

Core Features & Use Cases

  • Domain-specific exceptions communicate precise failure reasons to callers.
  • Enforce consistent naming, static constructors, and context data across the codebase.
  • Use in Laravel or PHP applications to map to tailored HTTP responses and logging.

Quick Start

Create a domain-specific exception class for each error, implement a named static constructor for readable throw sites, and wire a renderer to map exceptions to HTTP responses.

Dependency Matrix

Required Modules

None required

Components

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: exceptions
Download link: https://github.com/codebar-ag/coding-guidelines/archive/main.zip#exceptions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.