mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Added logic to properly map all existing errors from v3 to v2 in the API
This commit is contained in:
@@ -15,7 +15,7 @@ class DomainNotFoundException extends DomainException implements ProblemDetailsE
|
||||
use CommonProblemDetailsExceptionTrait;
|
||||
|
||||
private const TITLE = 'Domain not found';
|
||||
private const TYPE = 'DOMAIN_NOT_FOUND';
|
||||
public const TYPE = 'https://shlink.io/api/error/domain-not-found';
|
||||
|
||||
private function __construct(string $message, array $additional)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user