Perhaps add the registration id as details:

        std::string("Registration Id '") + id + "' not found"