diff options
Diffstat (limited to 'wp-includes/Requests/src/Exception/Http/Status502.php')
-rw-r--r-- | wp-includes/Requests/src/Exception/Http/Status502.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/wp-includes/Requests/src/Exception/Http/Status502.php b/wp-includes/Requests/src/Exception/Http/Status502.php new file mode 100644 index 0000000..7ce2b0f --- /dev/null +++ b/wp-includes/Requests/src/Exception/Http/Status502.php @@ -0,0 +1,31 @@ +<?php +/** + * Exception for 502 Bad Gateway responses + * + * @package Requests\Exceptions + */ + +namespace WpOrg\Requests\Exception\Http; + +use WpOrg\Requests\Exception\Http; + +/** + * Exception for 502 Bad Gateway responses + * + * @package Requests\Exceptions + */ +final class Status502 extends Http { + /** + * HTTP status code + * + * @var integer + */ + protected $code = 502; + + /** + * Reason phrase + * + * @var string + */ + protected $reason = 'Bad Gateway'; +} |