Return errors in user code to the server