mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
ArgumentNullException -> ArgumentException
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.SpaServices
|
|||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(value.Value))
|
if (string.IsNullOrEmpty(value.Value))
|
||||||
{
|
{
|
||||||
throw new ArgumentNullException($"The value for {nameof(DefaultPage)} cannot be null or empty.");
|
throw new ArgumentException($"The value for {nameof(DefaultPage)} cannot be null or empty.");
|
||||||
}
|
}
|
||||||
|
|
||||||
_defaultPage = value;
|
_defaultPage = value;
|
||||||
|
|||||||
Reference in New Issue
Block a user