Move CompilationError out of rct.