Ejemplo n.º 1
0
    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()
Ejemplo n.º 2
0
    def _processFormValuesError(self, e):
        """Treats user input related errors occured during the process of a RH."""

        return errors.WPFormValuesError(self, e).display()
Ejemplo n.º 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()