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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
<?php
namespace App\Exceptions;
use Exception;
/**
* A webhook payload field has a wrong type or format.
*
* Webhook handlers catch this exception and send a clean "Nothing to do."
* response. The request does not deploy anything.
*/
class InvalidWebhookPayloadException extends Exception
{
public static function forField(string $field): self
{
return new self("Nothing to do. Invalid '{$field}' in the request.");
}
}