Initial Commit
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace mpba\Modules\Exceptions;
|
||||
|
||||
class FileAlreadyExistException extends \Exception {}
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace mpba\Modules\Exceptions;
|
||||
|
||||
class InvalidActivatorClass extends \Exception
|
||||
{
|
||||
public static function missingConfig()
|
||||
{
|
||||
return new static("You don't have a valid activator configuration class. This might be due to your config being out of date. \n Run php artisan Vendors:publish --provider=\"mpba\Modules\LaravelModulesServiceProvider\" --force to publish the up to date configuration");
|
||||
}
|
||||
}
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace mpba\Modules\Exceptions;
|
||||
|
||||
class InvalidAssetPath extends \Exception
|
||||
{
|
||||
public static function missingModuleName($asset)
|
||||
{
|
||||
return new static("Module name was not specified in asset [$asset].");
|
||||
}
|
||||
}
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace mpba\Modules\Exceptions;
|
||||
|
||||
class InvalidJsonException extends \Exception {}
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace mpba\Modules\Exceptions;
|
||||
|
||||
class ModuleNotFoundException extends \Exception {}
|
||||
Reference in New Issue
Block a user