coolify/app/Exceptions/V5/UnsupportedCooldVerb.php
Andras Bacsai 6ae45684f9 feat(v5): add server reconciliation and canvas APIs
Split V5 dashboard behavior into domain controllers and policies,
add agent token rotation/revocation, status reconciliation jobs,
ingress firewall syncing, and canvas connection APIs.

Add migrations for V5 status tracking, server capabilities, resource
connection aliases, and revoked agent tokens.
2026-07-06 17:40:37 +02:00

18 lines
550 B
PHP

<?php
namespace App\Exceptions\V5;
use RuntimeException;
/**
* The per-node coold agent does not implement the dispatched verb. Flux
* rejects these before they reach the node, so callers can degrade
* gracefully instead of treating the miss as an operational failure.
*/
class UnsupportedCooldVerb extends RuntimeException
{
public function __construct(public readonly string $verb, string $message = '')
{
parent::__construct($message !== '' ? $message : "The node's coold agent does not support the {$verb} verb.");
}
}