A library containing a set of RESTful HTTP exceptions that use a consistent interface, built upon the ideas set by symfony/http-kernel
<?php
use Fuzz\HttpException\AccessDeniedHttpException;
throw new AccessDeniedHttpException('Access denied.');
phpunit
phpunit --coverage-html tests/coverage && open tests/coverage/index.html
- Support all appropriate HTTP status codes
- Improve exception API