ValidationExceptionType
Namespace: MJCZone.MediaMatic.AspNetCore.Validation
Assembly: MJCZone.MediaMatic.AspNetCore
Summary
Specifies the type of exception to throw when validation fails.
Inheritance
Base Class: Enum
sealed public
Contents
Enum Members (2)
Enum Members
| Name | Value | Description |
|---|---|---|
| ValidationResult | 0 | Throw a ValidationResultException (default for request validation). |
| Argument | 1 | Throw an ArgumentException (for service method argument validation). |