view_student.py
def display_error(self, error):
        """
        Prints a given error message to the console and returns a rendering (?) of the viewStudent template
        with a generic error message in it
        INPUT: -self,
               -error (the error we wil to print to the console)
        OUTPUT: an error page rendering of the viewStudent template (I think)
        """
        logging.error("View Student - " + str(error))
        return render_template('viewStudent.html', error="Something went wrong")

        Prints a given error message to the console and returns a rendering (?) of the viewStudent template
        with a generic error message in it
        INPUT: -self,
               -error (the error we wil to print to the console)
        OUTPUT: an error page rendering of the viewStudent template (I think)
        
Prints a given error message to the console and returns a rendering (?) of the viewStudent template
with a generic error message in it
INPUT: -self,
error (the error we wil to print to the console)
OUTPUT: an error page rendering of the viewStudent template (I think)
Prints a given error message to the console and returns a rendering ( ? ) of the viewStudent template with a generic error message in it INPUT : - self error ( the error we wil to print to the console ) OUTPUT : an error page rendering of the viewStudent template ( I think )
def display_error(self, error):
        logging.error("View Student - " + str(error))
        return render_template('viewStudent.html', error="Something went wrong")
def display_error ( self , error ) : logging . error ( "View Student - " + str ( error ) ) return render_template ( 'viewStudent.html' , error = "Something went wrong" )
Prints a given error message to the console and returns a rendering (?)
Prints a given error message to the console and returns a rendering ( ? )
"""
        Prints a given error message to the console and returns a rendering (?) of the viewStudent template
        with a generic error message in it
        INPUT: -self,
               -error (the error we wil to print to the console)
        OUTPUT: an error page rendering of the viewStudent template (I think)
        """
self
error