public function Vcl::add_error in Fastly 7.2
Adds new error.
Parameters
$message:
5 calls to Vcl::add_error()
- Vcl::execute in ./
fastly.vcl.inc - Main execute function, takes values inserted into constructor, builds requests and sends them via Fastly API.
- Vcl::prepare_condition in ./
fastly.vcl.inc - Prepares condition for insertion.
- Vcl::prepare_response_object in ./
fastly.vcl.inc - Prepares request object for insertion.
- Vcl::prepare_setting in ./
fastly.vcl.inc - Prepares setting for insertion.
- Vcl::prepare_vcl in ./
fastly.vcl.inc - Prepares VCL request.
File
- ./
fastly.vcl.inc, line 680
Class
- Vcl
- Class to control the VCL handling.
Code
public function add_error($message) {
drupal_set_message($message, "error");
$this->_webhook
->sendMessage(t($message), "ERROR", "vlc_upload_actions");
}