Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 65 | All time: 10,389 This week: 206 |
Version | License | PHP version | Categories | |||
mezon-rest-exception 1.0.0 | MIT/X Consortium ... | 5 | HTTP, PHP 5, Language |
Just type
composer require mezon/rest-exception
To use this class is very simple thing:
throw(new \Mezon\Rest\Exception(
"", // message of the exception, like in the standard Exception class
-1, // code of the exception, like in the standard Exception class
200, // HTTP code of the request
"<p>Warning!" // HTTP request body
));
Files (6) |
File | Role | Description | ||
---|---|---|---|---|
Tests (1 file) | ||||
.travis.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
Exception.php | Class | Class source | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
mezon-rest-exception-2020-10-23.zip 3KB | |
mezon-rest-exception-2020-10-23.tar.gz 2KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.