Catch compile error