public Routable decode(Version version, byte[] data) {
        try {
            return routableRepository.decode(docMan, version, data);
        } catch (RuntimeException e) {
            log.log(Level.WARNING, "Failed to decode document data", e);
            return null;
        }
    }
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