ManaPHP\Cli\Console::error PHP Метод

error() публичный Метод

public error ( string $str, array $context = [], integer $code = 1 ) : integer
$str string
$context array
$code integer
Результат integer
    public function error($str, $context = [], $code = 1)
    {
        $this->writeLn($str, $context);
        return $code;
    }