Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| BaseUrlNotSetException | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Hyde\Framework\Exceptions; |
| 6 | |
| 7 | use Exception; |
| 8 | |
| 9 | /** |
| 10 | * @deprecated This exception will be removed in v2.0.0. |
| 11 | */ |
| 12 | class BaseUrlNotSetException extends Exception |
| 13 | { |
| 14 | /** @var string */ |
| 15 | protected $message = 'No site URL has been set in config (or .env).'; |
| 16 | |
| 17 | /** @var int */ |
| 18 | protected $code = 500; |
| 19 | } |