public function WebhookIncomingEndpointNotFoundException::__construct in Webhooks 8
WebhookIncomingEndpointNotFoundException constructor.
Parameters
string $incoming_webhook_name: The name of the incoming webhook.
File
- src/
Exception/ WebhookIncomingEndpointNotFoundException.php, line 18
Class
- WebhookIncomingEndpointNotFoundException
- Class Webhook Incoming Endpoint Not Found Exception.
Namespace
Drupal\webhooks\ExceptionCode
public function __construct($incoming_webhook_name) {
$message = sprintf('No incoming webhook has been configured with the machine name "%s".', $incoming_webhook_name);
parent::__construct($message);
}