public int getTransportProtocolCode() {
        return transportProtocolCode;
    }
Returns error code of underlying transport protocol. For example, HTTP status.
By default, will return {@code 500 } what is derived from HTTP Server Internal Error.

@return - transport status code
client-v2/src/main/java/com/clickhouse/client/api/ServerException.java