diff --git a/composer.json b/composer.json index dc1cfd3..8076c13 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,6 @@ "autoload": { "psr-4": { "WellRESTed\\" : "src/" }, "psr-0": { "pjdietz\\WellRESTed": "src/" }, - "classmap": ["src/pjdietz/WellRESTed/Exceptions/HttpExceptions.php"] + "classmap": ["src/HttpExceptions.php"] } } diff --git a/src/pjdietz/WellRESTed/Exceptions/HttpExceptions.php b/src/HttpExceptions.php similarity index 94% rename from src/pjdietz/WellRESTed/Exceptions/HttpExceptions.php rename to src/HttpExceptions.php index 3791fb3..6bee1f9 100644 --- a/src/pjdietz/WellRESTed/Exceptions/HttpExceptions.php +++ b/src/HttpExceptions.php @@ -15,14 +15,14 @@ * @license MIT */ -namespace pjdietz\WellRESTed\Exceptions\HttpExceptions; +namespace WellRESTed\HttpExceptions; -use pjdietz\WellRESTed\Exceptions\WellRESTedException; +use Exception; /** * Base exception for HTTP-related errors. Also represents a 500 Internal Server error. */ -class HttpException extends WellRESTedException +class HttpException extends Exception { /** @var int HTTP Status Code */ protected $code = 500;