Moved error message text to variables