mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Make existing extensions compatible with new stack
This commit is contained in:
@@ -12,7 +12,12 @@
|
||||
namespace Flarum\Api\Exception;
|
||||
|
||||
use Exception;
|
||||
use Flarum\Foundation\KnownError;
|
||||
|
||||
class InvalidAccessTokenException extends Exception
|
||||
class InvalidAccessTokenException extends Exception implements KnownError
|
||||
{
|
||||
public function getType(): string
|
||||
{
|
||||
return 'invalid_access_token';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user