class WebhookIncomingEndpointNotFoundException in Webhooks 8
Class Webhook Incoming Endpoint Not Found Exception.
@package Drupal\webhooks\Exception
Hierarchy
- class \Drupal\webhooks\Exception\WebhookIncomingEndpointNotFoundException extends \Drupal\webhooks\Exception\Exception
Expanded class hierarchy of WebhookIncomingEndpointNotFoundException
2 files declare their use of WebhookIncomingEndpointNotFoundException
- WebhookController.php in src/
Controller/ WebhookController.php - WebhooksService.php in src/
WebhooksService.php
File
- src/
Exception/ WebhookIncomingEndpointNotFoundException.php, line 10
Namespace
Drupal\webhooks\ExceptionView source
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);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebhookIncomingEndpointNotFoundException:: |
public | function | WebhookIncomingEndpointNotFoundException constructor. |