coderockr / http-exceptions
Http Exceptions
Installs: 2 667
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 2
Open Issues: 0
This package is not auto-updated.
Last update: 2024-12-12 06:33:12 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