Error handling for remote actions