Move HttpExceptions to new namespace.
This commit is contained in:
parent
51e1be92fd
commit
d95498bcae
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
Loading…
Reference in New Issue