1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-25 04:13:42 +01:00
BookStack/app/Exceptions/NotifyException.php

19 lines
401 B
PHP
Raw Normal View History

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