library http-exceptions
Http Exceptions
coderockr/http-exceptions
Http Exceptions
- Tuesday, October 31, 2017
- by eminetto
- Repository
- 1 Watchers
- 6 Stars
- 635 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 1 Versions
- 24 % Grown
HttpException
PHP Exceptions related to HTTP Status Codes, (*1)
Using:, (*2)
try {
$this->foo();
} catch (\Exception $exception) {
throw new Exception\NotFoundException("foo not found :c", $exception);
}
based on the work of Pavel Sterba - https://github.com/pavelsterba/http-exceptions Thanks :D, (*3)
Usage Suggestion, (*4)