I am trying to create a generic error handler that will simply display the error message in the modal itself. I am basically trying to pass the error message string into the