]> BookStack Code Mirror - bookstack/blob - app/Exceptions/NotifyException.php
Updated existing image tests to reflect changes
[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      * @param string $message
12      * @param string    $redirectLocation
13      */
14     public function __construct(string $message, string $redirectLocation = "/")
15     {
16         $this->message = $message;
17         $this->redirectLocation = $redirectLocation;
18         parent::__construct();
19     }
20 }