diff --git a/src/Console/MetaCommand.php b/src/Console/MetaCommand.php index fe77e38..68b3e7f 100644 --- a/src/Console/MetaCommand.php +++ b/src/Console/MetaCommand.php @@ -135,7 +135,7 @@ class MetaCommand extends Command protected function registerClassAutoloadExceptions() { spl_autoload_register(function ($class) { - throw new \Exception("Class '$class' not found."); + throw new \ReflectionException("Class '$class' not found."); }); }