mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
13 lines
383 B
PHP
13 lines
383 B
PHP
<?php
|
|
|
|
namespace App\Classes\Exceptions;
|
|
|
|
use App\Classes\ValueObjects\Constants\HttpStatus;
|
|
|
|
final class ResourceConflictException extends ServiceApiException {
|
|
public function __construct(?string $message = null) {
|
|
parent::__construct($message ?? 'Unable to create the requested resource as it already exists',
|
|
HttpStatus::RESOURCE_ALREADY_EXISTS);
|
|
}
|
|
}
|