1
0
mirror of https://github.com/flarum/core.git synced 2025-10-18 18:26:07 +02:00

Make existing extensions compatible with new stack

This commit is contained in:
Franz Liedke
2019-08-09 20:42:03 +02:00
parent 1035636d0f
commit 3417f5a77e
8 changed files with 38 additions and 18 deletions

View File

@@ -12,7 +12,12 @@
namespace Flarum\Post\Exception;
use Exception;
use Flarum\Foundation\KnownError;
class FloodingException extends Exception
class FloodingException extends Exception implements KnownError
{
public function getType(): string
{
return 'too_many_requests';
}
}