/** * @param string $message * @param int $die */ private function error($message, $die = 0) { // @todo: I'll want to get rid of this method, but this patch will be big enough already // @todo: I'll probably want to throw exceptions and/or return Status objects instead, later if ($this->out) { $this->out->error($message, $die); } $die = intval($die); if ($die > 0) { die($die); } }
public function error($err, $die = 0) { parent::error($err, $die); }