Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

Commit 414a3b3

Browse files
authored
Merge pull request #1426 from tigerbeetle/matklad/dotnet-error-message
dotnet: correct wrong error message
2 parents 25840d2 + 36b6187 commit 414a3b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/clients/dotnet/TigerBeetle/RequestException.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public override string Message
1818
switch (Status)
1919
{
2020
case PacketStatus.TooMuchData: return "Too much data provided on this batch.";
21-
case PacketStatus.InvalidOperation: return "Invalid operation. Check if this client is compatible with the server's version.";
22-
case PacketStatus.InvalidDataSize: return "Invalid data size. Check if this client is compatible with the server's version.";
21+
case PacketStatus.InvalidOperation: return "Invalid operation.";
22+
case PacketStatus.InvalidDataSize: return "Invalid data size.";
2323
default: return "Unknown error status " + Status;
2424
}
2525
}

0 commit comments

Comments
 (0)