Skip to content

Commit 1cc261b

Browse files
authored
Merge pull request #85 from progaudi/fix-bin-converter-compatibility-mode-error-message
Fix binary converter compatibility mode error message
2 parents 9a04ac4 + f905a7a commit 1cc261b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msgpack.light/ExceptionUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static Exception BadTypeException(DataTypes actual, params DataTypes[] ex
1616

1717
public static Exception CantReadStringAsBinary()
1818
{
19-
return new SerializationException($"Reading a string as a byte array is disabled. Set MsgPackContext.BinaryCompatibilityMode property to true to enable it");
19+
return new SerializationException($"Reading a string as a byte array is disabled. Set 'binaryCompatibilityMode' parameter in MsgPackContext constructor to true to enable it");
2020
}
2121

2222
public static Exception NotEnoughBytes(uint actual, uint expected)

0 commit comments

Comments
 (0)