-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from keepwn/master
Add an exception being thrown when proxmox return status_code >= 400
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the ProxmoxVE PHP API wrapper library (unofficial). | ||
* | ||
* @copyright 2014 César Muñoz <[email protected]> | ||
* @license http://opensource.org/licenses/MIT The MIT License. | ||
*/ | ||
|
||
namespace ProxmoxVE\Exception; | ||
|
||
/** | ||
* BadResponseException class. Is the exception thrown when proxmox | ||
* return status_code >= 400, thus the ProxmoxVE API client can not be used. | ||
* | ||
* @author César Muñoz <[email protected]> | ||
*/ | ||
class BadResponseException extends \RuntimeException | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters