Finalize server management API

This commit is contained in:
Dane Everitt 2018-01-30 20:36:59 -06:00
parent 1be7805481
commit c599112021
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 163 additions and 17 deletions

View file

@ -2,6 +2,7 @@
namespace Pterodactyl\Exceptions\Http\Connection;
use Illuminate\Http\Response;
use GuzzleHttp\Exception\GuzzleException;
use Pterodactyl\Exceptions\DisplayException;
@ -10,7 +11,7 @@ class DaemonConnectionException extends DisplayException
/**
* @var int
*/
private $statusCode = 500;
private $statusCode = Response::HTTP_GATEWAY_TIMEOUT;
/**
* Throw a displayable exception caused by a daemon connection error.