Created
February 1, 2016 08:56
-
-
Save RobinRadic/d423a38d22f5b88d49ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ProjectNotFoundException extends \Exception | |
{ | |
public static function missingConfig() | |
{ | |
return new static("Could not find the project config file"); | |
} | |
public static function missingDatabase() | |
{ | |
return new static("Could not find the project in the database"); | |
} | |
public function in($path) | |
{ | |
$this->message .= " in [{$path}]"; | |
return $this; | |
} | |
} |
Author
RobinRadic
commented
Feb 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment