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 2 months 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 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T13:51:44.000Z (3 months ago)
- Last Synced: 2025-03-27T18:55:28.914Z (2 months ago)
- Language: PHP
- Size: 29.3 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.2
## Installation
Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-http-exception][1].
```bash
composer require chubbyphp/chubbyphp-http-exception "^1.2"
```## Usage
```php
'value1',
'key2' => 'value2'
], $exception);
```## Copyright
2025 Dominik Zogg
[1]: https://packagist.org/packages/chubbyphp/chubbyphp-http-exception