Use the created error_msg to display