X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FBadGatewayException.php;h=7ec93614f17afb6f093c05478043150b0984c22b;hb=46cd39fb34613f4b331793f19c0e562f93125066;hp=1bb8b29e98411c00c03e5f260d7bdeba5f33e989;hpb=4224209497a6c7f723ea2b4d989f99890bccc47f;p=friendica.git diff --git a/src/Network/HTTPException/BadGatewayException.php b/src/Network/HTTPException/BadGatewayException.php index 1bb8b29e98..7ec93614f1 100644 --- a/src/Network/HTTPException/BadGatewayException.php +++ b/src/Network/HTTPException/BadGatewayException.php @@ -1,10 +1,31 @@ -. + * + */ + +namespace Friendica\Network\HTTPException; + +use Friendica\Network\HTTPException; + +class BadGatewayException extends HTTPException +{ + protected $code = 502; + protected $httpdesc = 'Bad Gateway'; + protected $explanation = 'The server was acting as a gateway or proxy and received an invalid response from the upstream server.'; +}