PHPackages                             jeremykendall/exception-interfaces - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jeremykendall/exception-interfaces

ActiveLibrary

jeremykendall/exception-interfaces
==================================

Exception interfaces inspired by Schindler, Barton, and Beck.

1.0.1(12y ago)4181MITPHPPHP &gt;=5.4

Since Feb 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/jeremykendall/exception-interfaces)[ Packagist](https://packagist.org/packages/jeremykendall/exception-interfaces)[ Docs](https://github.com/jeremykendall/exception-interfaces)[ RSS](/packages/jeremykendall-exception-interfaces/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

PHP Exception Interfaces
========================

[](#php-exception-interfaces)

Exception interfaces for PHP inspired by

- Ralph Schindler's [Exception Best Practices in PHP 5.3](http://ralphschindler.com/2010/09/15/exception-best-practices-in-php-5-3) blog post
- John Barton's [RFC for the 7XX Range of HTTP Status codes - Developer Errors](https://github.com/joho/7XX-rfc) project
- [This tweet](https://twitter.com/kentbeck/status/294689698360737792) from Kent Beck

Usage
-----

[](#usage)

Simply create your own custom Exception, extend `\Exception`, and implement one of the exception interfaces. Done!

```
