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.

13 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_process in commands/make/
Drush callback: hidden file to process an individual project.
make_download_bzr in commands/make/
Checks out a Bazaar repository to the specified download location.
make_download_copy in commands/make/
Copies a folder the specified location.

... See full list


commands/make/, line 431
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", 'warning');
  else {
    drush_set_error($error_code, $message);