Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

550 B
Raw Blame
<?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.");
    }
}