Added messages to inform users of error cases