Skip to content

Commit f905a7a

Browse files
committed
Fix binary converter compatibility mode error message
1 parent 9a04ac4 commit f905a7a

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)