예제 #1
0
파일: base.py 프로젝트: arturodr/indico
    def _processFormValuesError(self, e):
        """Treats user input related errors occured during the process of a RH.
        """

        Logger.get('requestHandler').info(
            'Request %s finished with FormValuesError: "%s"' %
            (id(self._req), e))

        p = errors.WPFormValuesError(self, e)
        return p.display()
예제 #2
0
    def _processFormValuesError(self, e):
        """Treats user input related errors occured during the process of a RH."""

        return errors.WPFormValuesError(self, e).display()
예제 #3
0
 def _processBadRequestKeyError(self, e):
     """Request lacks a necessary key for processing"""
     msg = _('Required argument missing: %s') % e.message
     return errors.WPFormValuesError(self, msg).display()