2015-09-11 02:31:09 +08:00
|
|
|
<?php namespace BookStack\Exceptions;
|
2015-09-05 00:16:58 +08:00
|
|
|
|
|
|
|
class NotifyException extends \Exception
|
|
|
|
{
|
|
|
|
|
|
|
|
public $message;
|
|
|
|
public $redirectLocation;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* NotifyException constructor.
|
|
|
|
* @param string $message
|
|
|
|
* @param string $redirectLocation
|
|
|
|
*/
|
|
|
|
public function __construct($message, $redirectLocation)
|
|
|
|
{
|
|
|
|
$this->message = $message;
|
|
|
|
$this->redirectLocation = $redirectLocation;
|
|
|
|
parent::__construct();
|
|
|
|
}
|
2018-01-29 00:58:52 +08:00
|
|
|
}
|