mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 08:13:11 +08:00
Added logic to properly map all existing errors from v3 to v2 in the API
This commit is contained in:
@@ -13,7 +13,7 @@ class MercureException extends RuntimeException implements ProblemDetailsExcepti
|
||||
use CommonProblemDetailsExceptionTrait;
|
||||
|
||||
private const TITLE = 'Mercure integration not configured';
|
||||
private const TYPE = 'MERCURE_NOT_CONFIGURED';
|
||||
public const TYPE = 'https://shlink.io/api/error/mercure-not-configured';
|
||||
|
||||
public static function mercureNotConfigured(): self
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user