function drush_outputformat::format_error

8.0.x outputformat.drush.inc drush_outputformat::format_error($message)
6.x outputformat.drush.inc drush_outputformat::format_error($message)
7.x outputformat.drush.inc drush_outputformat::format_error($message)
master outputformat.drush.inc drush_outputformat::format_error($message)
2 calls to drush_outputformat::format_error()
drush_outputformat_key_value::format in commands/core/outputformat/key_value.inc
drush_outputformat_string::format in commands/core/outputformat/string.inc

File

commands/core/outputformat.drush.inc, line 355
Core drush output formats.

Class

drush_outputformat
Interface for output format engines.

Code

function format_error($message) {
  return drush_set_error('DRUSH_FORMAT_ERROR', dt("The output data could not be processed by the selected format '!type'.  !message", array('!type' => $this->engine, '!message' => $message)));
}