BookStack/app/Exceptions/NotifyException.php

21 lines
473 B
PHP
Raw Normal View History

<?php namespace BookStack\Exceptions;
2015-09-04 16:16:58 +00:00
class NotifyException extends \Exception
{
public $message;
public $redirectLocation;
/**
* NotifyException constructor.
* @param string $message
* @param string $redirectLocation
*/
public function __construct(string $message, string $redirectLocation = "/")
2015-09-04 16:16:58 +00:00
{
$this->message = $message;
$this->redirectLocation = $redirectLocation;
parent::__construct();
}
}