mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
18 lines
443 B
PHP
18 lines
443 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use RuntimeException;
|
|
|
|
class DnsRecordConflictException extends RuntimeException
|
|
{
|
|
public function __construct(
|
|
public readonly string $providerRecordId,
|
|
public readonly string $currentValue,
|
|
public readonly string $proposedValue,
|
|
public readonly ?string $currentComment = null,
|
|
) {
|
|
parent::__construct("DNS record already points to {$currentValue}.");
|
|
}
|
|
}
|