throw errors generated from the compiler