Skip to content

Commit 0722af5

Browse files
committed
Update exception
1 parent ccc536d commit 0722af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/BiDi/Modules/Script/LocalValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static StringLocalValue String(string value)
199199
{
200200
if (value is null)
201201
{
202-
throw new ArgumentNullException(nameof(value), $"string value cannot be null, use a {nameof(NullLocalValue)} value instead");
202+
throw new ArgumentNullException(nameof(value), $"string value cannot be null, use {nameof(LocalValue)}.{nameof(Null)} value instead");
203203
}
204204

205205
return new StringLocalValue(value);

0 commit comments

Comments
 (0)