| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 65 | All time: 10,397 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
));
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Class | Class source | |||
| Data | Auxiliary data | |||
| 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. |
| 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.