also looking at this
Implement Feature Exception
#72
5 files
+39
-3
| @@ -0,0 +1,19 @@ | ||
| 1 | <?php | |
| 2 | ||
| 3 | namespace Meema\MeemaClient\Exceptions; | |
| 4 | ||
| 5 | use Exception; | |
| 6 | ||
| 7 | class FeatureNotImplementedException extends Exception | |
| 8 | { | |
| 9 | /** | |
| 10 | * Construct exception. | |
| 11 | * | |
| 12 | * @param string $message | |
| 13 | */ | |
| 14 | public function __construct(string $message = null) | |
| 15 | { | |
| 16 | parent::__construct($message ?? 'Error on line '.$this->getLine().' in '.$this->getFile() | |
| 17 | .' Feature not yet implemented. Please contact us if this is something you would like to see rather sooner than later.'); | |
| 18 | } | |
| 19 | } | |