Add new error codes for when compilation fails and make compilation error