ptupitsyn commented on code in PR #5447:
URL: https://github.com/apache/ignite-3/pull/5447#discussion_r2005250027
##########
modules/platforms/dotnet/Apache.Ignite/IgniteException.cs:
##########
@@ -77,6 +77,6 @@ public IgniteException(Guid traceId, int code, string?
message, Exception? inner
/// <summary>
/// Gets the code as string.
/// </summary>
- public string CodeAsString => ErrorPrefix + '-' + GroupName + '-' +
ErrorCode;
+ public string CodeAsString => ErrorPrefix + '-' + GroupName + '-' +
unchecked((ushort)ErrorCode);
Review Comment:
Yes. I've added `ExceptionCodeAsStringTests` to verify this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]