public CompletionCode getCode() {
            return code;
        }
The result of the visitor, containing a completion code and an optional
error message.
documentapi/src/main/java/com/yahoo/documentapi/VisitorControlHandler.java