WebhookIncomingEndpointNotFoundException.php in Webhooks 8
Namespace
Drupal\webhooks\ExceptionFile
src/Exception/WebhookIncomingEndpointNotFoundException.phpView source
<?php
namespace Drupal\webhooks\Exception;
/**
* Class Webhook Incoming Endpoint Not Found Exception.
*
* @package Drupal\webhooks\Exception
*/
class WebhookIncomingEndpointNotFoundException extends \Exception {
/**
* WebhookIncomingEndpointNotFoundException constructor.
*
* @param string $incoming_webhook_name
* The name of the incoming webhook.
*/
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);
}
}
Classes
Name | Description |
---|---|
WebhookIncomingEndpointNotFoundException | Class Webhook Incoming Endpoint Not Found Exception. |