ydb-rs-sdk icon indicating copy to clipboard operation
ydb-rs-sdk copied to clipboard

remove direct grpc type StatusCode from public api

Open rekby opened this issue 1 year ago • 2 comments

StatusCode

    pub fn operation_status(&self) -> YdbResult<StatusCode> {
        StatusCode::from_i32(self.operation_status).ok_or_else(|| {
            YdbError::InternalError(format!("unknown status code: {}", self.operation_status))
        })
    }

rekby avatar Mar 13 '23 12:03 rekby

Hi @rekby I'd like to work on this issue, don't you mind?

kon3gor avatar Apr 21 '23 07:04 kon3gor

@kon3gor , it will great, thanks!

rekby avatar Apr 23 '23 16:04 rekby