/** * parent::error() is a protected method, only way to access it from the * outside is to make it public. * * @param string $err * @param int $die */ public function error($err, $die = 0) { parent::error($err, $die); }