jeremykendall/exception-interfaces

Exception interfaces inspired by Schindler, Barton, and Beck.

Maintainers

Package info

github.com/jeremykendall/exception-interfaces

pkg:composer/jeremykendall/exception-interfaces

Statistics

Installs: 18

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

1.0.1 2014-02-07 19:31 UTC

This package is auto-updated.

Last update: 2026-02-25 09:39:21 UTC


README

Exception interfaces for PHP inspired by

Usage

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

<?php

namespace Example;

use JeremyKendall\Exception\EdgeCases\ThatsJustSilly;

class RidiculousException extends \Exception implements ThatsJustSilly {}

See Ralph Schindler's post, linked above, for background.

Installation

Install via Composer.