Context menu error handling.