Added new exceptions for HTTP error codes.

This commit is contained in:
Matt Butcher
2012-01-05 09:59:47 -06:00
parent a31bf59b12
commit 16edc5372d
7 changed files with 96 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
<?php
/**
* @file
*/
namespace HPCloud\Transport;
/**
* Represents an HTTP 422 error.
*
* This often represents a case where a checksum or hash did not match
* the generated checksum on the remote end.
*/
class UnprocessableEntityException extends \HPCloud\Exception {}