Name error message and exit function adde