BookStack/app/Exceptions/NotifyException.php

19 lines
401 B
PHP
Raw Normal View History

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