Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit a83ec3a

Browse files
ArgumentNullException -> ArgumentException
1 parent a163436 commit a83ec3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNetCore.SpaServices.Extensions/SpaOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public PathString DefaultPage
4444
{
4545
if (string.IsNullOrEmpty(value.Value))
4646
{
47-
throw new ArgumentNullException($"The value for {nameof(DefaultPage)} cannot be null or empty.");
47+
throw new ArgumentException($"The value for {nameof(DefaultPage)} cannot be null or empty.");
4848
}
4949

5050
_defaultPage = value;

0 commit comments

Comments
 (0)