-
Notifications
You must be signed in to change notification settings - Fork 167
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
Showing
6 changed files
with
115 additions
and
126 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
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,25 @@ | ||
<?php | ||
|
||
namespace filsh\yii2\oauth2server\exceptions; | ||
|
||
class HttpException extends \yii\web\HttpException | ||
{ | ||
/** | ||
* @var string Uri for details of exception | ||
*/ | ||
public $errorUri; | ||
|
||
/** | ||
* Constructor. | ||
* @param integer $status HTTP status code, such as 404, 500, etc. | ||
* @param string $message error message | ||
* @param string $errorUri error uri | ||
* @param integer $code error code | ||
* @param \Exception $previous The previous exception used for the exception chaining. | ||
*/ | ||
public function __construct($status, $message = null, $errorUri = null, $code = 0, \Exception $previous = null) | ||
{ | ||
$this->errorUri = $errorUri; | ||
parent::__construct($status, $message, $code, $previous); | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.