public function error($str, $context = [], $code = 1) { $this->writeLn($str, $context); return $code; }