add error.c and error_message.c