app/views/sanitize.py
def error(self, errors):
        """
        Adds a new error to show to the user
        """
        self.problem = False

        if isinstance(errors, list):
            for err in errors:
                self.__error(err)
        else:
            self.__error(errors)

        if self.problem:
            raise PersOAEarlyFinish

        Adds a new error to show to the user
        
Adds a new error to show to the user
Adds a new error to show to the user
def error(self, errors):
        self.problem = False
        if isinstance(errors, list):
            for err in errors:
                self.__error(err)
        else:
            self.__error(errors)
        if self.problem:
            raise PersOAEarlyFinish
def error ( self , errors ) : self . problem = False if isinstance ( errors , list ) : for err in errors : self . __error ( err ) else : self . __error ( errors ) if self . problem : raise PersOAEarlyFinish
Adds a new error to show to the user
Adds a new error to show to the user
"""
        Adds a new error to show to the user
        """
self
errors