File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ public YdbException(Status status) : base(status.ToString())
2222 // TODO: Add SQLSTATE message with order with https://en.wikipedia.org/wiki/SQLSTATE
2323 }
2424
25- public YdbException ( string message , Status status ) : base ( message + ": " + status )
26- {
27- Code = status . StatusCode ;
28- var policy = RetrySettings . DefaultInstance . GetRetryRule ( status . StatusCode ) . Policy ;
29-
30- IsTransient = policy == RetryPolicy . Unconditional ;
31- IsTransientWhenIdempotent = policy != RetryPolicy . None ;
32- // TODO: Add SQLSTATE message with order with https://en.wikipedia.org/wiki/SQLSTATE
33- }
34-
3525 public override bool IsTransient { get ; }
3626
3727 public bool IsTransientWhenIdempotent { get ; }
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ private static async Task AppendDescribeTable(
162162 {
163163 ydbConnection . Session . OnStatus ( status ) ;
164164
165- throw new YdbException ( "Error on DescribeTable" , status ) ;
165+ throw new YdbException ( status ) ;
166166 }
167167
168168 var describeRes = describeResponse . Operation . Result . Unpack < DescribeTableResult > ( ) ;
You can’t perform that action at this time.
0 commit comments