Files
Investidor-V2/app/Integrations/SuiteCrm/SuiteCrmException.php
T
nala 250ac35fd1
tests / ci (push) Canceled after 0s
first commit
2026-09-28 10:01:09 +02:00

20 lines
563 B
PHP

<?php
namespace App\Integrations\SuiteCrm;
use RuntimeException;
final class SuiteCrmException extends RuntimeException
{
public function __construct(
public readonly string $reason,
public readonly ?int $httpStatus = null,
public readonly bool $retryable = false,
public readonly bool $outcomeUnknown = false,
public readonly ?int $retryAfter = null,
) {
// Never attach the original HTTP exception: it can contain credentials/PII.
parent::__construct('SuiteCRM integration: '.$reason);
}
}