← All changes
|
backend/src/Common/Exceptions/NotFoundException.php
+30
-0
0.6.1
→
1.5.1
View file →
| @@ -1,0 +1,30 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +/** | |
| 4 | + * @copyright © Melograno Venture Studio. All rights reserved. | |
| 5 | + * @licence See LICENCE.md for license details. | |
| 6 | + */ | |
| 7 | + | |
| 8 | +namespace IvyForms\Common\Exceptions; | |
| 9 | + | |
| 10 | +use Exception; | |
| 11 | + | |
| 12 | +/** | |
| 13 | + * Class NotFoundException | |
| 14 | + * | |
| 15 | + * @package IvyForms\Common\Exceptions | |
| 16 | + */ | |
| 17 | +class NotFoundException extends Exception | |
| 18 | +{ | |
| 19 | + /** | |
| 20 | + * NotFoundException constructor. | |
| 21 | + * | |
| 22 | + * @param string $message | |
| 23 | + * @param int $code | |
| 24 | + * @param Exception|null $previous | |
| 25 | + */ | |
| 26 | + public function __construct($message = 'not_found', $code = 0, ?Exception $previous = null) | |
| 27 | + { | |
| 28 | + parent::__construct($message, $code, $previous); | |
| 29 | + } | |
| 30 | +} | |