/** * Returns the error type or message for an invalid authentication. * * @param boolean $msg If true, returns the message string (if set). * * @return mixed Error type, error message (if $msg is true) or false * if entry doesn't exist. */ public function getError($msg = false) { return $this->_base ? $this->_base->getError($msg) : parent::getError($msg); }