add error.c to throw compile error and runtime error