Writes a string to error stream.

Parameters

  • string $error The string to write.
  • integer|string|array $options integer as the number of new lines. string as the style array as : - nl : number of new lines to add at the end - style : the style name to wrap around the

Returns

integer

Source

						public function error($error = null, $options = array('nl' => 1)) {
		return $this->_response('error', $error, $options);
	}