Error handling for CoreService