Php error handling

From HoangNguyen0403/agent-skills-standard · View interactive version

Php error handling is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Implement modern PHP error and exception handling patterns. Use when implementing exception hierarchies, error handlers, or custom exceptions in PHP.

How to use this skill

Skill file

PHP Error Handling

**Priority: P0 (CRITICAL)**

Structure

See implementation examples for directory layout.

Build Exception Hierarchies

See implementation examples for domain exception hierarchy with multi-catch and finally.

Configure Global Error Handling

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.