]> BookStack Code Mirror - bookstack/blob - app/Exceptions/NotifyException.php
Merge branch 'feature_add_add-button_to_home_view' of git://github.com/philjak/BookSt...
[bookstack] / app / Exceptions / NotifyException.php
1 <?php namespace BookStack\Exceptions;
2
3 class NotifyException extends \Exception
4 {
5
6     public $message;
7     public $redirectLocation;
8
9     /**
10      * NotifyException constructor.
11      */
12     public function __construct(string $message, string $redirectLocation = "/")
13     {
14         $this->message = $message;
15         $this->redirectLocation = $redirectLocation;
16         parent::__construct();
17     }
18 }