presto-client/src/main/java/io/prestosql/client/StatementClientV1.java/StatementClientV1/isClientError
class StatementClientV1:    @Override
    public boolean isClientError()
    {
        return state.get() == State.CLIENT_ERROR;
    }