Jamm\Tester\Test::setErrors PHP Method

setErrors() public method

public setErrors ( $errors )
    public function setErrors($errors)
    {
        if (!empty($errors)) {
            $this->errors = $errors;
            $this->successful = false;
        }
    }