https://github.com/chubbyphp/chubbyphp-http-exception
Creates http exceptions which can be catched and converted to error responses.
https://github.com/chubbyphp/chubbyphp-http-exception
Last synced: about 1 month ago
JSON representation
Creates http exceptions which can be catched and converted to error responses.
- Host: GitHub
- URL: https://github.com/chubbyphp/chubbyphp-http-exception
- Owner: chubbyphp
- License: mit
- Created: 2022-09-18T13:49:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T21:20:14.000Z (2 months ago)
- Last Synced: 2026-01-13T00:48:27.255Z (2 months ago)
- Language: PHP
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chubbyphp-http-exception
[](https://github.com/chubbyphp/chubbyphp-http-exception/actions/workflows/ci.yml)
[](https://coveralls.io/github/chubbyphp/chubbyphp-http-exception?branch=master)
[](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-http-exception/master)
[](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception)
[](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception)
[](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)
## Description
Creates http exceptions which can be catched and converted to error responses.
## Requirements
* php: ^8.3
## Installation
Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-http-exception][1].
```bash
composer require chubbyphp/chubbyphp-http-exception "^1.3"
```
## Usage
```php
'value1',
'key2' => 'value2'
], $exception);
```
## Copyright
2026 Dominik Zogg
[1]: https://packagist.org/packages/chubbyphp/chubbyphp-http-exception