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()
def _processFormValuesError(self, e): """Treats user input related errors occured during the process of a RH.""" return errors.WPFormValuesError(self, e).display()
def _processBadRequestKeyError(self, e): """Request lacks a necessary key for processing""" msg = _('Required argument missing: %s') % e.message return errors.WPFormValuesError(self, msg).display()