public String getName() {
        return NAME.toString();
    }
Returns true if the given reply has at least one error, and all errors are of the given type.

@param reply   the reply to check for error
@param errCode the error code to check for
@return whether or not the reply has only the given error code
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java