You are here

public function VclHandler::addError in Fastly 8.3

Adds new error to error array.

Parameters

string $message: Error message.

7 calls to VclHandler::addError()
VclHandler::execute in src/VclHandler.php
Main execute function.
VclHandler::prepareCondition in src/VclHandler.php
Prepares condition for insertion.
VclHandler::prepareSetting in src/VclHandler.php
Prepares setting for insertion.
VclHandler::prepareSingleVcl in src/VclHandler.php
Prepares request for Single VCL.
VclHandler::prepareVcl in src/VclHandler.php
Prepares VCL request.

... See full list

File

src/VclHandler.php, line 1030

Class

VclHandler
Class to control the VCL handling.

Namespace

Drupal\fastly

Code

public function addError($message) {
  $this->errors[] = $message;
}