2015-09-10 20:31:09 +02:00
|
|
|
<?php namespace BookStack\Exceptions;
|
2015-09-04 18:16:58 +02: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-28 17:58:52 +01:00
|
|
|
}
|