protected function throwLastError($msg)
    {
        if ($last = \MUtil_Error::getLastPhpErrorMessage()) {
            $msg .= sprintf($this->translate->_(' The error message is: %s'), $last);
        }
        throw new \Gems_Exception_Coding($msg);
    }
protected function throwLastError($msg)
    {
        if ($last = \MUtil_Error::getLastPhpErrorMessage()) {
            $msg .= sprintf($this->translate->_(' The error message is: %s'), $last);
        }
        throw new \Gems_Exception_Coding($msg);
    }
protected function throwLastError ( $ msg ) { if ( $ last = \ MUtil_Error :: getLastPhpErrorMessage ( ) ) { $ msg .= sprintf ( $ this -> translate -> _ ( ' The error message is: %s' ) , $ last ) ; } throw new \ Gems_Exception_Coding ( $ msg ) ; }
Helper function for error handling

@param string $msg
@throws \Gems_Exception_Coding
Helper function for error handling