Skip to content

Commit d4e30e8

Browse files
committed
inherit client error exceptions from HttpException
1 parent 7b0d1d6 commit d4e30e8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/Routing/RouterException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
namespace DevNet\Web\Routing;
1111

12-
use Exception;
12+
use DevNet\Web\Http\HttpException;
1313

14-
class RouterException extends Exception
14+
class RouterException extends HttpException
1515
{
1616
}

lib/Security/Authentication/AuthenticationException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
namespace DevNet\Web\Security\Authentication;
1111

12-
use Exception;
12+
use DevNet\Web\Http\HttpException;
1313

14-
class AuthenticationException extends Exception
14+
class AuthenticationException extends HttpException
1515
{
1616
}

lib/Security/Authorization/AuthorizationException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
namespace DevNet\Web\Security\Authorization;
1111

12-
use Exception;
12+
use DevNet\Web\Http\HttpException;
1313

14-
class AuthorizationException extends Exception
14+
class AuthorizationException extends HttpException
1515
{
1616
}

0 commit comments

Comments
 (0)