mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02:00
feat(plugins): display errors when plugin is invalid instead of crashing
This commit is contained in:
parent
45ac2a4be9
commit
8ec79097bb
9 changed files with 119 additions and 48 deletions
12
modules/Plugins/Core/PluginStatus.php
Normal file
12
modules/Plugins/Core/PluginStatus.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Plugins\Core;
|
||||
|
||||
enum PluginStatus: string
|
||||
{
|
||||
case INVALID = 'invalid';
|
||||
case INACTIVE = 'inactive';
|
||||
case ACTIVE = 'active';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue