Coded errors in personal

Added error code to tell if user input is in prompt.