ArgumentNullException -> ArgumentException

This commit is contained in:
Steve Sanderson 2017-11-09 10:30:52 -08:00
Родитель a16343681b
Коммит a83ec3a053
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.SpaServices
{
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;