public boolean hasThrowable() {
        return this.throwable != null;
    }
Checks if error is available or not.

@return true if there's error; false otherwise
clickhouse-data/src/main/java/com/clickhouse/logging/LogMessage.java