-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8479278
commit 9c66cfd
Showing
3 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/** | ||
* Part of phoenix project. | ||
* | ||
* @copyright Copyright (C) 2017 ${ORGANIZATION}. | ||
* @license __LICENSE__ | ||
*/ | ||
|
||
namespace Windwalker\Core\Security\Exception; | ||
|
||
/** | ||
* The UnauthorizedException class. | ||
* | ||
* @since __DEPLOY_VERSION__ | ||
*/ | ||
class UnauthorizedException extends \RuntimeException | ||
{ | ||
/** | ||
* UnauthorizedException constructor. | ||
* | ||
* @param string $message The Exception message to throw. | ||
* @param int $code Use 401 or 403 to forbidden access. | ||
* @param \Exception|\Throwable $previous Previous exception object. | ||
*/ | ||
public function __construct($message = "", $code = 401, $previous = null) | ||
{ | ||
} | ||
} |