1 write to Exception
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelError.cs (1)
29
Exception
= exception ?? throw new ArgumentNullException(nameof(exception));
5 references to Exception
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\Metadata\ModelBindingMessageProvider.cs (4)
42
/// Error message the model binding system adds when <see cref="ModelError.
Exception
"/> is of type
50
/// Error message the model binding system adds when <see cref="ModelError.
Exception
"/> is of type
58
/// Error message the model binding system adds when <see cref="ModelError.
Exception
"/> is of type
66
/// Error message the model binding system adds when <see cref="ModelError.
Exception
"/> is of type
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\UnsupportedContentTypeFilter.cs (1)
49
if (error.
Exception
is UnsupportedContentTypeException)