function make_error

8.0.x make_error($error_code, $message)
6.x make_error($error_code, $message)
7.x make_error($error_code, $message)
5.x make_error($error_code, $message)
master make_error($error_code, $message)

Logs an error unless the --force-complete command line option is specified.

15 calls to make_error()
DrushMakeProject::applyPatches in commands/make/
Retrieve and apply any patches specified by the makefile to this project.
DrushMakeProject::getTranslations in commands/make/
Retrieve translations for this project.
drush_make in commands/make/
Drush callback; make based on the makefile.
drush_make_convert in commands/make/
Command callback; convert ini makefile to YAML.
drush_make_process in commands/make/
Drush callback: hidden file to process an individual project.

... See full list


commands/make/, line 479
General utility functions for Drush Make.


function make_error($error_code, $message) {
  if (drush_get_option('force-complete')) {
    drush_log("$error_code: $message -- build forced", LogLevel::WARNING);
  else {
    return drush_set_error($error_code, $message);