mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 08:23:25 +00:00
Move V5 source, migrations, UI, scripts, and tests into documentation, then remove V5 routes, models, jobs, configuration, dependencies, and application hooks.
19 lines
550 B
Plaintext
19 lines
550 B
Plaintext
<?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.");
|
|
}
|
|
}
|