coderockr / http-exceptions
Http Exceptions
dev-master
2017-10-31 11:02 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-03 14:44:38 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