Improving transpile error handling.