coderockr / http-exceptions
Http Exceptions
Installs: 2 624
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 2
Open Issues: 0
This package is not auto-updated.
Last update: 2024-10-31 06:00:42 UTC
README
PHP Exceptions related to HTTP Status Codes
Using:
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